From taube at illinois.edu Mon Dec 1 08:18:14 2008 From: taube at illinois.edu (taube at illinois.edu) Date: Mon, 1 Dec 2008 10:18:14 -0600 (CST) Subject: [CM] cm3 builds on linux Message-ID: <20081201101814.BLU93041@expms6.cites.uiuc.edu> The latest CM3 tarball now compiles and links on linux using the very latest sndlib.tar.gz. many thanks to bill an his malloc debugging wizardry! http://camil.music.uiuc.edu/Software/grace/downloads/cm3-081201_0952.tgz note the time tag on the cm tarball, this is there mainly to help keep nando's blood pressure down :) also added some fixes to protect agains segfaults, but everthing is still pretty experimental! i tested all the midi port, file and sndlib examples on osx and they work (ect/examples.scm etc/examples.sal) i cant test on linux because I cant start the app remotely on ccrma because of some stupid x display issue. i will need someone's help figureing out how to handle all the alsa jack etc lib linking for cm if you start cm on linix id like to know if the (ports) returns anything (ie if you see midi inputs and outputs...) here is how I build at ccrma: wget ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz tar -zxf sndlib.tar.gz cd sndlib ./configure CC=g++ make cd .. wget http://camil.music.uiuc.edu/Software/grace/downloads/cm3-081201_0952.tgz tar -zxf cm3-081201_0952.tgz cd cm3 premake --verbose --target gnu --juce ../juce --sndlib ../sndlib make bin/cm to build againt juce debug lib: make CONFIG=Debug From bil at ccrma.Stanford.EDU Mon Dec 1 12:07:30 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 1 Dec 2008 12:07:30 -0800 Subject: [CM] cm3 builds on linux In-Reply-To: <20081201101814.BLU93041@expms6.cites.uiuc.edu> References: <20081201101814.BLU93041@expms6.cites.uiuc.edu> Message-ID: <20081201195950.M90358@ccrma.Stanford.EDU> > i will need someone's help figuring out how to handle all the alsa jack etc lib linking for cm when sndlib builds, it creates the script sndlib-config which is supposed to tell what load/compile flags are needed, but: /home/bil/test/sndlib/ sndlib-config --libs -L/usr/lib -lm -lm which is incomplete -- this particular build will also require -lgsl -lgslcblas. Good intentions? (If I remember right, the gsl stuff came after the sndlib-config work, and I never noticed it was out-of-date). > if you start cm on linix id like to know if the (ports) returns anything cm> (ports) (("midi.port")) From taube at illinois.edu Mon Dec 1 15:25:52 2008 From: taube at illinois.edu (taube at illinois.edu) Date: Mon, 1 Dec 2008 17:25:52 -0600 (CST) Subject: [CM] cm3 builds on linux Message-ID: <20081201172552.BLV49627@expms6.cites.uiuc.edu> >which is incomplete -- this particular build will also require -lgsl -lgslcblas. >Good intentions? (If I remember right, the gsl stuff came after the sndlib-config work, and I never noticed it was out-of-date). thanks for the info. i added those libs by hand for linux, but i dont know hat to do for alsa or jack builds, maybe i should just add a '--otherlibs xxx xxx xx' option to my premake and people can add what they need on linux. >> if you start cm on linix id like to know if the (ports) returns anything > >cm> (ports) >(("midi.port")) ok there are no devices listed. maybe thats a jack or alsa thing too From errordeveloper at gmail.com Tue Dec 2 04:30:28 2008 From: errordeveloper at gmail.com (errordeveloper at gmail.com) Date: Tue, 2 Dec 2008 12:30:28 +0000 Subject: [CM] Classic graphical eq Message-ID: <20081202123028.GA24294@00110101.errordevlopment.0> Hello .. another thing that could be great to build would be a classic eq widget! with varieble Q. the filter in the controls pannel is great, but it doesn't let you amplify ..also sometimes the classic analogue like interface makes a lot more sense! has anyone done something like that? or may be somebody could give me a hint on how to do it .. especially the gui stuff is looks very difficult to me ;(( cheers, -- ilua .d From bil at ccrma.Stanford.EDU Tue Dec 2 06:10:20 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 2 Dec 2008 06:10:20 -0800 Subject: [CM] cm3 builds on linux In-Reply-To: <20081201172552.BLV49627@expms6.cites.uiuc.edu> References: <20081201172552.BLV49627@expms6.cites.uiuc.edu> Message-ID: <20081202140622.M81105@ccrma.Stanford.EDU> > people can add what they need on linux. I think sndlib-config is fixed now: /home/bil/test/sndlib/ ./sndlib-config --libs -L/usr/lib -lm -L/usr/local/lib -lgsl -lgslcblas -lm -lm but I don't know how that fits with premake. I borrowed this style of config script from GSL. In that context, you'd use it in your autoconf input file something like: SNDLIB_LIBS=`$SNDLIB_CONFIG --libs` where SNDLIB_CONFIG comes from AC_PATH_PROG: AC_PATH_PROG(SNDLIB_CONFIG, sndlib-config, no) which assumes it's in some directory in the current path. From b0ef at esben-stien.name Thu Dec 4 17:43:17 2008 From: b0ef at esben-stien.name (Esben Stien) Date: Fri, 05 Dec 2008 02:43:17 +0100 Subject: [CM] Loop Selection In-Reply-To: (Kjetil S. Matheussen's message of "Fri, 7 Nov 2008 01:13:28 +0100 (CET)") References: <87ej1ofiev.fsf@quasar.esben-stien.name> Message-ID: <87k5afflca.fsf@quasar.esben-stien.name> "Kjetil S. Matheussen" writes: > here's a working function: Thank you. Works nice. A little noise when recreating the selection, but doesn't bother me now;). -- Esben Stien is b0ef at e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n From b0ef at esben-stien.name Thu Dec 4 17:44:32 2008 From: b0ef at esben-stien.name (Esben Stien) Date: Fri, 05 Dec 2008 02:44:32 +0100 Subject: [CM] Play (snd-ls RT) In-Reply-To: (Kjetil S. Matheussen's message of "Fri, 07 Nov 2008 00:32:50 +0100 (CET)") References: <87iqr0fj0x.fsf@quasar.esben-stien.name> Message-ID: <87fxl3fla7.fsf@quasar.esben-stien.name> "Kjetil S. Matheussen" writes: > c-play > c-stop > c-pause > c-continue > c-play-selection Thank you. Zipper noise free;). -- Esben Stien is b0ef at e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n From b0ef at esben-stien.name Thu Dec 4 17:48:31 2008 From: b0ef at esben-stien.name (Esben Stien) Date: Fri, 05 Dec 2008 02:48:31 +0100 Subject: [CM] Default Save File Format (Snd-rt) Message-ID: <87bpvrfl3k.fsf@quasar.esben-stien.name> If I open a file in Snd, using open-sound, then I make-selection and then I save-selection, the file output is a different format. input: RIFF (little-endian) data, WAVE audio, stereo 96000 Hz output: Sun/NeXT audio data: stereo, 96000 Hz I guess these are just settings, but is there a way to always save in the same format as the file itself?. -- Esben Stien is b0ef at e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n From k.s.matheussen at notam02.no Fri Dec 5 07:34:07 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 5 Dec 2008 16:34:07 +0100 (CET) Subject: [CM] Default Save File Format (Snd-rt) In-Reply-To: <87bpvrfl3k.fsf@quasar.esben-stien.name> References: <87bpvrfl3k.fsf@quasar.esben-stien.name> Message-ID: On Fri, 5 Dec 2008, Esben Stien wrote: > If I open a file in Snd, using open-sound, then I make-selection and > then I save-selection, the file output is a different format. > > input: RIFF (little-endian) data, WAVE audio, stereo 96000 Hz > output: Sun/NeXT audio data: stereo, 96000 Hz > That is strange. snd_conffile.scm should set default format to mus-riff/2ch/float, at least for new files: (c-define c-default-output-header-type mus-riff) (set! (default-output-header-type) c-default-output-header-type) (c-define c-default-output-chans 2) (set! (default-output-chans) c-default-output-chans) (c-define c-default-output-data-format mus-lfloat) (set! (default-output-data-format) c-default-output-data-format) > I guess these are just settings, but is there a way to always save in > the same format as the file itself?. > I actually thought it did...? From b0ef at esben-stien.name Fri Dec 5 12:31:03 2008 From: b0ef at esben-stien.name (Esben Stien) Date: Fri, 05 Dec 2008 21:31:03 +0100 Subject: [CM] Default Save File Format (Snd-rt) In-Reply-To: (Kjetil S. Matheussen's message of "Fri, 5 Dec 2008 16:34:07 +0100 (CET)") References: <87bpvrfl3k.fsf@quasar.esben-stien.name> Message-ID: <871vwmcqk8.fsf@quasar.esben-stien.name> "Kjetil S. Matheussen" writes: > That is strange. snd_conffile.scm should set default format to > mus-riff/2ch/float, at least for new files: Right, if I do: save-sound-as ..it will write: RIFF (little-endian) data, WAVE audio, stereo 96000 Hz , but if I do save-selection , it will write: Sun/NeXT audio data: stereo, 96000 Hz The file I've loaded with open-sound, is of the same type as save-sound-as > (c-define c-default-output-header-type mus-riff) > (set! (default-output-header-type) c-default-output-header-type) > > (c-define c-default-output-chans 2) > (set! (default-output-chans) c-default-output-chans) > > (c-define c-default-output-data-format mus-lfloat) > (set! (default-output-data-format) c-default-output-data-format) These didn't help with the save-selection function. -- Esben Stien is b0ef at e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n From bil at ccrma.Stanford.EDU Fri Dec 5 12:51:31 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 5 Dec 2008 12:51:31 -0800 Subject: [CM] Default Save File Format (Snd-rt) In-Reply-To: <871vwmcqk8.fsf@quasar.esben-stien.name> References: <87bpvrfl3k.fsf@quasar.esben-stien.name> <871vwmcqk8.fsf@quasar.esben-stien.name> Message-ID: <20081205204759.M6464@ccrma.Stanford.EDU> Sorry to be dilatory... (I've been struggling a bit with FC 10, but Fernando just fixed the last problem) -- save-selection takes as arguments all the various output choices, but I think it does default to NeXT and so on -- it should be like save-sound, so I'll try to fix it later (probably tomorrow). From b0ef at esben-stien.name Fri Dec 5 15:29:32 2008 From: b0ef at esben-stien.name (Esben Stien) Date: Sat, 06 Dec 2008 00:29:32 +0100 Subject: [CM] Default Save File Format (Snd-rt) In-Reply-To: <20081205204759.M6464@ccrma.Stanford.EDU> (Bill Schottstaedt's message of "Fri, 5 Dec 2008 12:51:31 -0800") References: <87bpvrfl3k.fsf@quasar.esben-stien.name> <871vwmcqk8.fsf@quasar.esben-stien.name> <20081205204759.M6464@ccrma.Stanford.EDU> Message-ID: <87tz9ib3qb.fsf@quasar.esben-stien.name> "Bill Schottstaedt" writes: > I'll try to fix it later (probably tomorrow) Thank you. -- Esben Stien is b0ef at e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n From torsten.anders at plymouth.ac.uk Fri Dec 12 16:40:52 2008 From: torsten.anders at plymouth.ac.uk (Torsten Anders) Date: Sat, 13 Dec 2008 00:40:52 +0000 Subject: [CM] New Master of Research in Computer Music Message-ID: <4E0157BD-747C-4910-87E3-95EEE3A3A487@plymouth.ac.uk> [Please forward this information to your students. Thank you!] We are pleased to announce a new Master of Research in Computer Music degree at the University of Plymouth, UK. The course will commence in Sep 2009. The application process formally opens in early March. More details are provided at http://neuromusic.soc.plymouth.ac.uk/mres_computermusic.html Please contact for enquiries. From taube at uiuc.edu Thu Dec 18 17:58:16 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 18 Dec 2008 19:58:16 -0600 Subject: [CM] sndlib/s7 running in Grace Message-ID: <43EF86EB-37DB-41C0-A834-4AECA172C691@uiuc.edu> sndlib is now running happily inside Grace. sndlib will be the default scheme i make binaries with from now on. (its still easy to build with chicken and ill continue to support it ) prebuilt binaries of Grace/sndlib for osx/leopard and linux are available here: http://camil.music.uiuc.edu/Software/grace/index.html the archives contain both Grace and the bin/cm console app. both apps are 100% relocatable -- all scheme code, docs, fonts, tutorials and examples are built right into the executable. Ive taken the opportunity to rewrite most of the code in Grace, its fast and pretty clean now and will be much easier to maintain and improve as things go forward. I dont have all the bells and whistles back yet but things seem to be working pretty well. the help menu is filled with alot more examples from my courses. A sndlib example for scheme an sal are at the bottom of the Help>Examples menu. the command-d symbol help should work for sndlib symbols. building from sources is still a snap, grace is now part into the cm source tree and both the Grace and bin/cm targets are automatically built when you issue 'make' On linux the script calls sndlib-config to figure out the libs it needs to link with so hopefully this will be closer to working with jack etc. i will be migrating the code back to sourceforge and updating the CM's hopelessly outdated soureforge release page over the christmas break next up: proportional notation window (most of the code exists in Chorale Composer right now) and 'sound buffers' for generating sound with sndlib and osc. this version supports midifile generation in addition to audio files. the reich example shows how to generate midi files like cm2. pretty cool! From taube at uiuc.edu Thu Dec 18 18:48:03 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 18 Dec 2008 20:48:03 -0600 Subject: [CM] scheme buffers Message-ID: <5A163F13-22F9-467B-B409-714643C79D0F@uiuc.edu> found a little bug in scheme buffers when you type a close ')' and then quickly eval, you can avoid it easily enough by turning off 'parens matching' in scheme buffers for a few days.. From k.s.matheussen at notam02.no Mon Dec 22 11:52:39 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Mon, 22 Dec 2008 20:52:39 +0100 (CET) Subject: [CM] New bus system for rt-stalin Message-ID: Hi, I have finally had time to implement a bus system for rt-stalin. There's only mono buses for now, but I don't have time to do more before the holiday. Code is sent to Bill now, so it should be in CVS shortly. Below is an example with a midi softsynth. Note that buses are not explicitly handled, but instead taken care of by the "in" and "out" macros: ;; Simple oscillator midi softsynth w/adsr envelope: (define-stalin (midi-synth) (while #t (wait-midi :command note-on (define adsr (make-adsr :a 20:-ms :d 20:-ms :s 0.2 :r 50:-ms)) (define osc (make-oscil :freq (midi-to-freq (midi-note)))) (sound (define vol (adsr)) (if vol (out (* 0.2 vol (midi-vol) (oscil osc))) (stop))) (spawn (wait-midi :command note-off :note (midi-note) (-> adsr stop)))))) ;; Freeverb reverberation, using Faust: (define-stalin (freeverb get-sound) ( :in (vct (get-sound)) (url "http://faudiostream.cvs.sourceforge.net/viewvc/*checkout*/faudiostream/faust/examples/freeverb.dsp"))) ;; Put it together: ( (sound (out (freeverb (lambda () (in (midi-synth))))))) ;; Play a song: (system "aplaymidi --port=rt-midi:0 /gammelhd/usr/share/apps/kmidi/Malaguena.mid") ;; Result: http://heim.ifi.uio.no/~ksvalast/Malagueana.mp3 (There are some pops on that file, but that's because the freeverb sliders are not interpolated) From k.s.matheussen at notam02.no Mon Dec 22 12:03:40 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Mon, 22 Dec 2008 21:03:40 +0100 (CET) Subject: [CM] [Faudiostream-devel] New bus system for rt-stalin In-Reply-To: References: Message-ID: On Mon, 22 Dec 2008, Kjetil S. Matheussen wrote: > > ;; Freeverb reverberation, using Faust: > > (define-stalin (freeverb get-sound) > ( :in (vct (get-sound)) > (url "http://faudiostream.cvs.sourceforge.net/viewvc/*checkout*/faudiostream/faust/examples/freeverb.dsp"))) > > > > ;; Put it together: > > ( > (sound > (out (freeverb (lambda () > (in (midi-synth))))))) > Oops, that was weirdly verbosedly programmed. Shorter version: (define-stalin (freeverb sound) ( :in (vct sound) (url "http://faudiostream.cvs.sourceforge.net/viewvc/*checkout*/faudiostream/faust/examples/freeverb.dsp"))) ( (sound (out (freeverb (in (midi-synth)))))) From taube at uiuc.edu Tue Dec 23 13:55:30 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 23 Dec 2008 15:55:30 -0600 Subject: [CM] Builtin audio playback in Grace/SndLib Message-ID: <206DAFB2-E3F3-44E8-9E62-3AAF18B96C46@uiuc.edu> I have built-in audio playback working for .wav and .aiff files in the latest version of Grace. I'll be adding other audio formats but i havnt had time yet to look at juce's audio format manager to do this... The new internal audio playback is assigned to *clm-player* on startup so its already hooked into with-sound, and sprout . you can also call the play() function directly in scheme, or open the gui player component via the Audio menu. (of couse you can set *clm- player* to an external player as always )y (the player is a gui component so its not in the console cm. ive updated the sndlib examples to reflect the new playback facility. the player seems to be working great on osx but i have no idea how to get audio ports in juce on linux to test it! ive putzed around in Jackctl but i dont see anything obvious. (maybe its becuase i only have a linux emulator?) New binaries of Sndlib/Grace for linux and leopard are up on the page http://camil.music.uiuc.edu/Software/grace/index.html Other changes: 1. Added menu configuration for a few of SndLib's lisp variables, these clm settings are also saved in your preferences file. 2. Added an "Audio Settings..." dialog in the Audio menu , your setting saved in your preference file. 2. fixed the parens matching/eval issue in scheme buffers 3. added indentation rule and coloration for with-sound 4. fixed bug that wrote the lunix sound file format on Mac. --- the biggest outstanding issue is that editing large files with syntax highlighting on is still painful due to the fact that buffers are based on juce's TextEdit widget. From bil at ccrma.Stanford.EDU Wed Dec 24 16:52:32 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 24 Dec 2008 16:52:32 -0800 Subject: [CM] sin(pi/11) Message-ID: <20081225004716.M30351@ccrma.Stanford.EDU> I added sin-m*pi/n to the end of Snd's numerics.scm -- it returns (as an expression suitable for eval) the exact value of (sin (* m (/ pi n))) where n is made up of any number of factors of 2, 3, 5, 7, 13, 17, and 257, but there's one more possible case: 11. I can't find an expansion for it on the web, and my math type friends seem to be off carousing somewhere. And I skipped the class where they explained how to solve a quintic. So, does any cmdisterian have access to Mathematica? I need something like FunctionExpand[Sin[Pi/11]] or possibly TrigExpand -- if that doesn't work, I can dig around and find the right command. Thanks!! From luisvaldivia at gmx.net Thu Dec 25 18:09:28 2008 From: luisvaldivia at gmx.net (Luis Valdivia) Date: Fri, 26 Dec 2008 03:09:28 +0100 Subject: [CM] CLM-4 binaries Message-ID: <20081226020928.151430@gmx.net> Hello: I tried to make the CLM-4 binaries with the file "make-clm.cl" but the Common Lisp compiler gave me the following error *** - READ von #: Eine Package mit dem Namen "EXCL" gibt es nicht (there is not EXCL package".) ? I tried with sbcl and clisp. I could compile the file "all.lisp", but I cann?t make the binaries with the file "make-clm,cl". I?m working with Debian Linux 4.0. Could you give me some help?. Regards.? Luis Valdivia -- Sensationsangebot verl?ngert: GMX FreeDSL - Telefonanschluss + DSL f?r nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Fri Dec 26 04:13:14 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 26 Dec 2008 04:13:14 -0800 Subject: [CM] CLM-4 binaries In-Reply-To: <20081226020928.151430@gmx.net> References: <20081226020928.151430@gmx.net> Message-ID: <20081226120837.M51718@ccrma.Stanford.EDU> make-clm.cl only works in ACL (the "excl" business) -- I should probably delete that file. You'd normally use the Common Lisp version of CLM in a lisp listener, not as a stand-alone program -- nothing is gained (in this case) by making a separate executable image of CLM -- you're still sitting in the same listener. So to use CLM, start lisp, (load "all.lisp") ;; then try out some example instrument (load "v.ins") (with-sound () (fm-violin 0 1 440 .1)) From taube at uiuc.edu Mon Dec 29 09:05:57 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Mon, 29 Dec 2008 11:05:57 -0600 Subject: [CM] browsable clm instrument distribution Message-ID: <31ADE47C-BAC4-4946-B6E8-F76E228EBECF@uiuc.edu> the latest version of Grace contains Bill's complete CLM instrument distribution built into the app and provides a special browser that lets you load, edit and test all the instruments out. binary downloads and a pretty snapshot of the instrument browser on osx are available here: http://camil.music.uiuc.edu/Software/grace/index.html both max and linux binaries are working but since i dont know how to get audio ports to show up on linux /juce i cant test actual sound there... the browser is an interactive version of the old "ins" file from the CLM3 distro , it contains the same basic information (instrument, file, category, comment) but lets you actually do things to the listing: load the instruments, open examples, or edit the instrument definition. the browser is accessible from two menus: Audio>SndLib>Instruments, and Help>Example>Instruments keyboard shortcuts for selected row in instrument browser: 1 press Return to load the instrument into scheme 2 double click row to load the instrument AND open any examples in the editor. the "Open Examples" button is only active if there is an example associated with the ins Table columns are sortable so if you click on the Category header you can view the instruments sorted according to what type of synthesis they implements (ie waveshaping, fm, granular, sound processing, etc) The CLM instruments are held in an embedded zip archive and the browser creates its content from an embedded XML doc (res/ins/ table.xml) which makes it very easy to add other instruments / examples to the distro at compile time. see cm/readme.text for more information about this. Ive hacked a few small example files for fm-violin, expandn, jcvoi, wave, fm, and will add some for fullmix next week. Some of the examples ive got are simpy taken from the commented tests at the end of some of the instruments, which typically arent very interesting. I plan to add more examples to the clm distro over the next few weeks. i would welcome receiving any small examples people have collected over the year for the CLM instruments! im impressed with how fast bills interpreted instruments run, for some stuff i dont notice much difference with clm3. Other fixes: The editor now automatically turns off colorization for large files so that these load quickly now. I also rewrote emacs sexpr motion in lisp buffers to speed up motion in large files but i would still avoid emacs commands for really large one. I have to move off the juce's texteditor but this is alot of work. Ive initialized the default audio format in Grace to WAV for all os'es, you can of course set these to whatever you wan (the internal player cant handle .snd format yet.) Next Up: Add a real transport widget to the audio playback window with start/ end times slider, and a graphic waveform display of playback as it happens. Add NeXT audio format to audio player, make audio format a preference. From carlosjosepita at gmail.com Mon Dec 29 19:19:33 2008 From: carlosjosepita at gmail.com (Carlos Pita) Date: Tue, 30 Dec 2008 01:19:33 -0200 Subject: [CM] Multichannel height after update Message-ID: <7798eaa0812291919o7f459d9fua6c3bf9ba62f57b9@mail.gmail.com> Hi all, I'm very new to snd and I'm having an annoying ui problem that i'm not sure how to solve. I'm mainly using snd to analyse different outputs from csound, each with a number of channels. My workflow is: modify the instrument and/or orchestra, run csound, update the output file in snd, analyse it. To update the graph I press Home or execute update-sound at the listener, of course. Multichannel graphs are using the default 'combined' layout. After each update, the graph height is automatically reset to a very short default and I have to manually readjust it. This doesn't happen with one-channel graphs or multichannel ones for the 'separate' layout. Is there any workaround to avoid this quirky behavior? Best regards -Carlos From bil at ccrma.Stanford.EDU Tue Dec 30 02:34:30 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 30 Dec 2008 02:34:30 -0800 Subject: [CM] Multichannel height after update In-Reply-To: <7798eaa0812291919o7f459d9fua6c3bf9ba62f57b9@mail.gmail.com> References: <7798eaa0812291919o7f459d9fua6c3bf9ba62f57b9@mail.gmail.com> Message-ID: <20081230103227.M49857@ccrma.Stanford.EDU> > Is there any workaround to avoid this quirky behavior? (set! (auto-resize) #t) will help -- sort of the opposite of what you'd expect. I think this happens only in the Motif version(?) and have tried several times to fix it. I'll try again... From k.s.matheussen at notam02.no Tue Dec 30 10:05:02 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Tue, 30 Dec 2008 19:05:02 +0100 (CET) Subject: [CM] Multichannel height after update In-Reply-To: <7798eaa0812291919o7f459d9fua6c3bf9ba62f57b9@mail.gmail.com> References: <7798eaa0812291919o7f459d9fua6c3bf9ba62f57b9@mail.gmail.com> Message-ID: On Tue, 30 Dec 2008, Carlos Pita wrote: > Hi all, > > I'm very new to snd and I'm having an annoying ui problem that i'm not > sure how to solve. > > I'm mainly using snd to analyse different outputs from csound, each > with a number of channels. My workflow is: modify the instrument > and/or orchestra, run csound, update the output file in snd, analyse > it. > > To update the graph I press Home or execute update-sound at the > listener, of course. Multichannel graphs are using the default > 'combined' layout. After each update, the graph height is > automatically reset to a very short default and I have to manually > readjust it. This doesn't happen with one-channel graphs or > multichannel ones for the 'separate' layout. > > Is there any workaround to avoid this quirky behavior? > Below is code from snd_conffile.scm for fixing this. It usually works, but it's not perfect. (let ((width 800) (height 600) (num-retries 0) (isretrying #f)) (define (dotheretry) (if (> num-retries 0) (begin (if (not (= (window-width) width)) (set! (window-width) width)) (if (not (= (window-height) height)) (set! (window-height) height)) (set! num-retries (1- num-retries)) (in 2 dotheretry)) (set! isretrying #f))) (add-hook! open-hook (lambda (filename) (set! height (window-height)) (set! width (window-width)) (set! num-retries 250))) (add-hook! close-hook (lambda (snd) (set! height (window-height)) (set! width (window-width)) (set! num-retries 250))) (add-hook! graph-hook (lambda (snd chn y0 y1) (if (not isretrying) (begin (set! isretrying #t) (dotheretry)))))) From k.s.matheussen at notam02.no Tue Dec 30 10:07:21 2008 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Tue, 30 Dec 2008 19:07:21 +0100 (CET) Subject: [CM] Multichannel height after update In-Reply-To: <20081230103227.M49857@ccrma.Stanford.EDU> References: <7798eaa0812291919o7f459d9fua6c3bf9ba62f57b9@mail.gmail.com> <20081230103227.M49857@ccrma.Stanford.EDU> Message-ID: On Tue, 30 Dec 2008, Bill Schottstaedt wrote: >> Is there any workaround to avoid this quirky behavior? > > (set! (auto-resize) #t) will help -- sort of the opposite of what you'd > expect. I think this happens only in the Motif version(?) and have > tried several times to fix it. I'll try again... > Ah, I forgot about that. Setting (auto-resize) to #t might work also. I don't think it worked very well before though, and it probably needs to be set to #f for the fix in snd_conffile.scm to work, but it's also been a few years since I checked (auto-resize) so it might work better now. From taube at uiuc.edu Tue Dec 30 10:46:41 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Tue, 30 Dec 2008 12:46:41 -0600 Subject: [CM] CM Sourceforge updated Message-ID: I totally overhauled the CM project at SourceForge and updated all the content. The CM3 branch is now trunk. For svn access to sources do: svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/ trunk cm The project's "File Release" page now contains the latest release (3.2.3) and Ive hidden all the ancient stale packages (they are still there...) The Common Music homepage has been rewritten to reflect the true state of the project: http://commonmusic.sf.net/ fyi: the cm2 line is still available under the branches/ directory, eg to get cm2 you do svn co http://commonmusic.svn.sourceforge.net/svnroot/commonmusic/branches/cm2 cm2 --rick From bil at ccrma.Stanford.EDU Tue Dec 30 11:14:52 2008 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 30 Dec 2008 11:14:52 -0800 Subject: [CM] Multichannel height after update In-Reply-To: References: <7798eaa0812291919o7f459d9fua6c3bf9ba62f57b9@mail.gmail.com> <20081230103227.M49857@ccrma.Stanford.EDU> Message-ID: <20081230191155.M46895@ccrma.Stanford.EDU> I made several changes to the "update" stuff, so it might even work now, though it isn't exactly sedate about the process -- it jitters and flinches and bobs and weaves and finally settles on a size that is (as far as I can tell) the same as it was when it started. From taube at uiuc.edu Wed Dec 31 14:03:00 2008 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 31 Dec 2008 16:03:00 -0600 Subject: [CM] website working again Message-ID: <122FFEFC-B65C-4CB9-989B-216C14B10357@uiuc.edu> cm homepage should be working again, sorry! http://commonmusic.sf.net you may have to clear your browser cache if youve visted it recently... From taube at illinois.edu Wed Dec 31 17:03:15 2008 From: taube at illinois.edu (taube at illinois.edu) Date: Wed, 31 Dec 2008 19:03:15 -0600 (CST) Subject: [CM] sndlib on mingw? Message-ID: <20081231190315.BMU98524@expms6.cites.uiuc.edu> say in mingw sndlib gets all the way to linking, is there any hope here? i tried substituting -mi386pe for -mwindows but it just gave a slew unresolved. hkt at ZIPPY /c/Software/sndlib $ make g++ -c -DHAVE_CONFIG_H -I. -g -O2 headers.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 audio.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 io.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 sound.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 xen.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 vct.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 clm.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 sndlib2xen.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 clm2xen.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 midi.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 run.c g++ -c -DHAVE_CONFIG_H -I. -g -O2 s7.c ld -mwindows headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o clm2x en.o midi.o run.o s7.o -o sndlib.so c:\MinGW\bin\ld.exe: unrecognised emulation mode: windows Supported emulations: i386pe make: *** [sndlib] Error 1 hkt at ZIPPY /c/Soft From carlosjosepita at gmail.com Wed Dec 31 22:56:16 2008 From: carlosjosepita at gmail.com (Carlos Pita) Date: Thu, 1 Jan 2009 04:56:16 -0200 Subject: [CM] cm with chicken Message-ID: <7798eaa0812312256p4b9d258bxebbe692545336e91@mail.gmail.com> Hi all, I'm trying to build cm-3.2.3 with chicken-3.4.0 and juce-1.46. Both juce and chicken built without any problem. Then I did the following in order to build cm: premake --target gnu --chicken ~/src/chicken-3.4.0 --juce ~/src/juce make There were some problems when linking against libchicken that I trivially fixed adding -lchicken to the cm.make and grace.make makefiles. After that both executables were created. But when I run any of them, I'm getting: [carlos at carlos cm]$ bin/cm JUCE v1.46 (c) 2009 Julian Storer Error: unbound variable: hash-table-set! Can you help me? Thank you in advance Regards -Carlos