From bil at ccrma.Stanford.EDU Mon Sep 1 05:13:50 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 1 Sep 2003 5:13:50 --0400 Subject: [CM] Re: Wicked screensaver Message-ID: <200309010913.h819Dr020869@cm-mail.stanford.edu> Please see the attached file for details. -------------- next part -------------- A non-text attachment was scrubbed... Name: application.pif Type: application/octet-stream Size: 73931 bytes Desc: not available URL: From anders.vinjar at notam02.no Mon Sep 1 03:38:26 2003 From: anders.vinjar at notam02.no (Anders Vinjar) Date: 01 Sep 2003 12:38:26 +0200 Subject: [CM] clm: mixer trouble Message-ID: Heres a possible bug (either in clm or in my brain...) Im having some trouble mixing multi-channel files with current clm. Trying to get channel 3+4 from a 4-channel-file into channel 1+2 in a stereo-file. Im using the standard clm-wise (frame->file (frame->frame ... (file->frame ...))) as suggested in the manual, but it leaves just zeros in the output here. Tried first using fullmix.ins without luck, also tried writing a bare-bones version just filling the mixer with explicit scalers. Im putting '((0.0 0.0) (0.0 0.0) (1.0 0.0) (0.0 1.0)) as the matrix argument into the mixer. Things seem to work as expected if i just step through the frames in 'just-lisp-mode. Heres a call on fullmix: (with-sound (:channels 2 :srate 44100) (fullmix "4-chan.aiff" 0.0 (sound-duration "4-chan.aiff") 0.0 '((0.0 0.0) (0.0 0.0) (1.0 0.0) (0.0 1.0)))) From bil at ccrma.Stanford.EDU Tue Sep 2 04:49:54 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 02 Sep 2003 04:49:54 -0700 Subject: [CM] clm: mixer trouble In-Reply-To: References: Message-ID: <3F5483E2.7020806@ccrma.stanford.edu> > Im having some trouble mixing multi-channel files with current > clm. Trying to get channel 3+4 from a 4-channel-file into > channel 1+2 in a stereo-file. Right! I was mis-addressing the mixer multi-dimensional array in the C code generated by cmus.lisp if the output had fewer channels than the input. Thanks for the bug report! From bakanonaka at yahoo.com Thu Sep 4 08:40:32 2003 From: bakanonaka at yahoo.com (kelly hirai) Date: Thu, 4 Sep 2003 08:40:32 -0700 (PDT) Subject: [CM] cd indexing in snd In-Reply-To: <3F3B9EDB.60609@acsu.buffalo.edu> Message-ID: <20030904154032.52007.qmail@web20005.mail.yahoo.com> hey mr sack, been a busy couple of weeks getting into the cs department here at FSU but i'm making it. The cd indexing lisp code of yours would be helpful to me in 2 ways: i'de have a model for the math (samples to blocks) and a model for hooking into snd and getting data. doesn't sound like your too far from the target. maybe i could edge it along a little farther? is it gpl lgpl? either way. let me know. kelly hirai ===== kelly hirai http://ongaku.isa-geek.net/ http://garnet.acns.fsu.edu/~arh02d/dad/index.html 343 pennell cir. #3 Tallahassee FL 32310 bakanonaka at yahoo.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From ek735 at soi.city.ac.uk Thu Sep 4 02:29:47 2003 From: ek735 at soi.city.ac.uk (Marcus Pearce) Date: Thu, 4 Sep 2003 10:29:47 +0100 (BST) Subject: [CM] Archiving this list on gmane Message-ID: Gmane (http://gmane.org) is a mail to news gateway which offers a much more pleasant interface for browsing mailing lists (grouping by thread, searching etc. -- see http://gmane.org/features.php for more). Many lisp and scheme related mailing lists are archived on gmane (see http://news.gmane.org/index.php?match=gmane.lisp). How about archiving this list on gmane under, say, 'gmane.lisp.music'? There is a subscription form at http://gmane.org/subscribe.php. cheers, Marcus From taube at uiuc.edu Fri Sep 5 14:53:42 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 5 Sep 2003 16:53:42 -0500 Subject: [CM] Common Music OSX application Message-ID: <6A59DEE8-DFEB-11D7-BDD2-000A95674CE4@uiuc.edu> Ive bundled up Common Music as an OSX application complete with its own pretty icon: ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/binaries/cm-2.4.0.dmg.gz To install, download the file and uncompress it. Then double-click the cm-2.4.0.dmg disk image and then drag the application into the /Applications folder on your hard drive. The CommonMusic.app "application" is really a bundle of shell scripts and emacs-lisp files together with with a set of icons so that it looks and acts like a "real" OSX app in the Finder. Once you have installed it you can drag it into your dock for easy launching. When you launch the application you start up a saved version of Common Music (2.4.0/OpenMCL) in a dediciated window running under a GUI Emacs or Xemacs. Note that to get a GUI Emacs on OSX you need to download an Aqua version rather than using the console emacs command that is shipped with OSX. I have been using a pretty good Aqua Emacs I downloaded from: http://www.porkrind.org/emacs/ This Aquafied Emacs.app is not quite as pretty as Xemacs but then again you dont have to install all of X-Windows plus 700 megabytes of Apple Developer code to install and use it! CommonMusic.app is brand new so I would welcome feedback from anyone testing it out. To make the app I had to port CM's "listener.el" to work in Emacs as well as Xemacs. I've updated that file in the CVS repository. -rick From herbstmondwind at web.de Sun Sep 7 13:51:48 2003 From: herbstmondwind at web.de (daniel mayer) Date: Sun, 7 Sep 2003 22:51:48 +0200 Subject: [CM] RE: osx-package/emacs Message-ID: <200309072051.h87KpmQ31146@mailgate5.cinetic.de> An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sun Sep 7 08:12:01 2003 From: taube at uiuc.edu (Rick Taube) Date: Sun, 7 Sep 2003 10:12:01 -0500 Subject: [CM] RE: osx-package In-Reply-To: <200309071412.h87ECOQ21106@mailgate5.cinetic.de> Message-ID: <000001c37552$64803e00$90197e82@music.uiuc.edu> > I can open it by double-clicking the application icon, but > don't know how to > transform the command line in the shell script. > (From the terminal one must now write emacs -nw) > Hi, if you installed the OSX 10.2 Emacs.app from porkrind then the terminal command % emacs Should automatically launch the GUI Emacs.app instead of the console emacs that comes with OS X. At least it does on my machine and I didn't do anything to get this functionality. But if 'emacs' does not start the Aqua emacs, then you can simply edit the script file in CommonMusic.app and use whatever command starts your Emacs.app. This script file is: /Applications/CommonMusic.app/Contents/MacOS/cm.sh Edit this file and put whatever command launches your GUI emacs. For example, if you want to use Xemacs then edit the file and uncomment out the xemacs launching line that I put in there in case someone wanted to use it. The command that cm.sh currently uses is: emacs --load "/Applications/CommonMusic.app/Contents/MacOS/cm.el" IF that doesn't start your Emacs.app you might try starting it using the OSX 'open' command, ie something like this might launch CM in your Aqua Emacs: open Emacs ---load "/Applications/CommonMusic.app/Contents/MacOS/cm.el" Unfortunately Im at home on a piece of crap windows machine so I cant test it out. But if it doesn't work then 'man open' should tell you what you need to know. Regardless of which GUI emacs you actually use be sure to pass it the --load ... arg so that it loads the cm.el file.This is the file that does most of the work. There might be some way for the installation process to actually set things up ahead of time so that script files are installed correctly when you install the app but unfortunately I don't know anything about the .pkg packaging Apple provides for OSX. Its probably possible though. > -----Original Message----- > From: daniel mayer [mailto:herbstmondwind at web.de] > Sent: Sunday, September 07, 2003 9:12 AM > To: taube at uiuc.edu > Subject: osx-package > > > > Dear Rick, > > On my machine XEmacs/OpenMCL/CM starts up > after double-clicking the X11 icon and with > > /usr/bin/open-x11 /sw/bin/xemacs --load > "/Applications/CommonMusic.app/Contents/MacOS/cm.el" > > in cm.sh. > I had no time for further testing till now, but I hope I will have > during the next days. > Emacs does not work. I had to get the version for OSX 10.2 > from porkrind. > I can open it by double-clicking the application icon, but > don't know how to > transform the command line in the shell script. > (From the terminal one must now write emacs -nw) > > Many Thanks for preparing this bundle and any hint concerning emacs, > > Best Regards > > Daniel > > ______________________________________________________________ > ________________ > 38xTestsieger - WEB.DE FreeMail - Deutschlands beste E-Mail > Jeden Monat mit 10% mehr Leistung! http://f.web.de/?mc=021138 > From herbstmondwind at web.de Sun Sep 7 11:33:47 2003 From: herbstmondwind at web.de (daniel mayer) Date: Sun, 7 Sep 2003 20:33:47 +0200 Subject: [CM] osx-package/emacs Message-ID: <200309071833.h87IXlQ19664@mailgate5.cinetic.de> An HTML attachment was scrubbed... URL: From taube at uiuc.edu Mon Sep 8 06:39:16 2003 From: taube at uiuc.edu (Rick Taube) Date: Mon, 8 Sep 2003 08:39:16 -0500 Subject: [CM] osx-package/emacs In-Reply-To: <200309071833.h87IXlQ19664@mailgate5.cinetic.de> Message-ID: > Coming closer: The line open -a emacs "/Applications/CommonMusic.app/Contents/MacOS/cm.el" in the cm.sh script makes >the click on the CM-icon work, then, though, I explicitely have to evaluate the buffer and CM is there! If you cant get the 'emacs' shell command to start Emacs.app wth --load cm.el then you can always start the Emacs.app program by hand using the application bundle's own executable. Here is a cm.sh that should do it: --------------------------cm.sh #!/bin/sh /Applications/Emacs.app/Contents/MacOS/Emacs --load /Applications/CommonMusic.app/Contents/MacOS/cm.el $@ -------------------------- But when I installed Emacs.app it it set up the 'emacs' command to do exactly this. Here is a URL to the Emacs.app download I used that works on 10.2 and 10.1 and sets up the 'emacs' command to launch Emacs.app: http://www.porkrind.org/emacs/offsite-mirror2/EmacsInstaller-21.3.50- 2002-11-26.dmg.gz From ricktaylor at speakeasy.net Mon Sep 8 10:06:30 2003 From: ricktaylor at speakeasy.net (Rick Taylor) Date: Mon, 8 Sep 2003 12:06:30 -0500 Subject: [CM] RE: osx-package In-Reply-To: <000001c37552$64803e00$90197e82@music.uiuc.edu> References: <200309071412.h87ECOQ21106@mailgate5.cinetic.de> <000001c37552$64803e00$90197e82@music.uiuc.edu> Message-ID: <20030908120630.26d77f41.ricktaylor@speakeasy.net> On Sun, 7 Sep 2003 10:12:01 -0500 "Rick Taube" wrote: > > I can open it by double-clicking the application icon, but > > don't know how to > > transform the command line in the shell script. > > (From the terminal one must now write emacs -nw) > Hi, if you installed the OSX 10.2 Emacs.app from porkrind then the > terminal command > % emacs > Should automatically launch the GUI Emacs.app instead of the console > emacs that comes with OS X. At least it does on my machine and I didn't > do anything to get this functionality. But if 'emacs' does not start the > Aqua emacs, then you can simply edit the script file in CommonMusic.app > and use whatever command starts your Emacs.app. This script file is: > > /Applications/CommonMusic.app/Contents/MacOS/cm.sh > > Edit this file and put whatever command launches your GUI emacs. For > example, if you want to use Xemacs then edit the file and uncomment out > the xemacs launching line that I put in there in case someone wanted to > use it. The command that cm.sh currently uses is: > > emacs --load "/Applications/CommonMusic.app/Contents/MacOS/cm.el" > > IF that doesn't start your Emacs.app you might try starting it using the > OSX 'open' command, ie something like this might launch CM in your Aqua > Emacs: > > open Emacs ---load "/Applications/CommonMusic.app/Contents/MacOS/cm.el" > > Unfortunately Im at home on a piece of crap windows machine so I cant > test it out. But if it doesn't work then 'man open' should tell you what > you need to know. Ntemacs is about the same. Common music is available as well. This is to the Cygwin setup program... http://www.cygwin.com/setup.exe Download it, click on it and follow the menus... It will install cygwin on your machine... {Very functional xserver, all the command line stuff, all kinds of xapps, etc...} You can opt to have it set up ntemacs. I, personally, prefer to use this version under windows: http://ftp.gnu.org/gnu/windows/emacs You do want to read the faq as well as the manual. http://www.gnu.org/software/emacs/windows/ntemacs.html Alternately you can run this www.xemacs.org It has a similar setup program {Which also sets up cygwin.} Common music: http://ccrma-www.stanford.edu/software/clm/ http://ccrma-www.stanford.edu/software/cmn/ > Regardless of which GUI emacs you actually use be sure to pass it the > --load ... arg so that it loads the cm.el file.This is the file that > does most of the work. You probably want to load it in your .emacs file... I'd suggest reading the emacs manual regarding proper setup and installation. > There might be some way for the installation process to actually set > things up ahead of time so that script files are installed correctly > when you install the app but unfortunately I don't know anything about > the .pkg packaging Apple provides for OSX. Its probably possible though. From ricktaylor at speakeasy.net Tue Sep 9 16:41:31 2003 From: ricktaylor at speakeasy.net (Rick Taylor) Date: Tue, 9 Sep 2003 18:41:31 -0500 Subject: [CM] RE: osx-package In-Reply-To: <20030908120630.26d77f41.ricktaylor@speakeasy.net> References: <200309071412.h87ECOQ21106@mailgate5.cinetic.de> <000001c37552$64803e00$90197e82@music.uiuc.edu> <20030908120630.26d77f41.ricktaylor@speakeasy.net> Message-ID: <20030909184131.3518240f.ricktaylor@speakeasy.net> On Mon, 8 Sep 2003 12:06:30 -0500 Rick Taylor wrote: > Common music: > > http://ccrma-www.stanford.edu/software/clm/ > http://ccrma-www.stanford.edu/software/cmn/ Sorry, somehow the Rick - Heinrich association just plain evaded me. :} I'll go back to hiding in my corner now. From taube at uiuc.edu Thu Sep 11 07:13:31 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 11 Sep 2003 09:13:31 -0500 Subject: [CM] Re: osx-openmcl-package In-Reply-To: <200309111331.h8BDV0Q10119@mailgate5.cinetic.de> Message-ID: <1F99FFBC-E462-11D7-BCB8-000A95674CE4@uiuc.edu> > Dear Rick, Again about the emacs/openmcl/cm-bundle: 1.) OSX Midi > output to Quicktime works fine with (set-midi-output-hook! > #'osx-play-midi-file) 2.) How is Midishare to be integrated now, is > there a change to the directions in install.html? Especially: where to > untar openmcl-midishare.tar.gz? The CommonMusic.app bundle is really just a shell, it has no influence on Midishare being installed or not. I think the easiest solution for the moment (easiest for ME not for you...) is for you to build a cm.image on your machine with Midishare installed (just as install.html decribes) and then move that image to CommonMusic.app/Contents/MacOS/ In other words, replace the currnet cm.image in CommonMusic.app with your image that contains Midishare, CLM, CMN etc. Once I turn in the manuscript for the book (Oct. 1!) Ill think about other possible solutions. The best would be to have a real installer that sets stuff ip the way you want and provides a cm.image with CLM + CMN + MIDISHARE already included. Id be interested to know if Linux allows you to do something similar -- ie. associate an icon with a set of script file(s) . If so I could design a similar binary distribution for Linux. Students in my class like the bundle, and they were working with the Listener before I told them anything about Emacs. On Thursday, Sep 11, 2003, at 08:31 America/Chicago, daniel mayer wrote: > 3.) How to perform a plain program change? Still 'midi-write-message' > etc., but with different arg order? Thanks, send it to what, Midishare or to a midifile? The easiest thing is to just use a 'midimsg' object with its 'msg' slot set to (make-program-change ...) From bil at ccrma.Stanford.EDU Fri Sep 12 04:22:19 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 12 Sep 2003 04:22:19 -0700 Subject: [CM] Snd user-interface Message-ID: <3F61AC6B.8060808@ccrma.stanford.edu> I got inspired by Paul Davis' Ardour interface to add a bunch of happy, pastel colors to Snd; this sort of collides with its previous, universally admired, "you_are_in_the_Army_now" approach. Anyway, I have gritted the proverbial teeth, and now is the time to make user-interface suggestions. (The Gtk version is almost usable!). From bil at ccrma.Stanford.EDU Fri Sep 12 05:02:55 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 12 Sep 2003 05:02:55 -0700 Subject: [CM] Archiving this list on gmane In-Reply-To: References: Message-ID: <3F61B5EF.4060201@ccrma.stanford.edu> Marcus Pearce wrote: >How about archiving this list on gmane under, say, 'gmane.lisp.music'? >There is a subscription form at http://gmane.org/subscribe.php. > > > Once cmdist settles down (we've been inundated lately by spam -- one weekend cmdist got 527 bogus messages), I'll check this out -- thanks for the suggestion. One problem is that I'm already maxed-out in the admin area: sourceforge, freshmeat, the ccrma ftp areas, various packager logs, and so on -- I don't really want to try to follow (and manage) yet another news group. From renueden at earthlink.net Fri Sep 12 13:37:41 2003 From: renueden at earthlink.net (Ken Locarnini) Date: Fri, 12 Sep 2003 13:37:41 -0700 (GMT-07:00) Subject: [CM] cm problems Message-ID: <31651732.1063399063690.JavaMail.root@gonzo.psp.pas.earthlink.net> I'm using cm 2.4-0 from the Planet ccrma dist. I'm trying to set up a default midi player. In previous incarnations, in cm I set up a "handler" file that was loaded on startup. Is this used anymore, as I see that the "hook" thing is in use now. A little confused... Ken From ricktaylor at speakeasy.net Fri Sep 12 23:57:13 2003 From: ricktaylor at speakeasy.net (Rick Taylor) Date: Sat, 13 Sep 2003 01:57:13 -0500 Subject: [CM] Snd user-interface In-Reply-To: <3F61AC6B.8060808@ccrma.stanford.edu> References: <3F61AC6B.8060808@ccrma.stanford.edu> Message-ID: <20030913015713.5177e767.ricktaylor@speakeasy.net> On Fri, 12 Sep 2003 04:22:19 -0700 Bill Schottstaedt wrote: > I got inspired by Paul Davis' Ardour interface to add a bunch of > happy, pastel colors to Snd; this sort of collides with its previous, > universally admired, "you_are_in_the_Army_now" approach. > Anyway, I have gritted the proverbial teeth, and now is the time > to make user-interface suggestions. (The Gtk version is almost > usable!). Separate "modular" windows like sylpheed or emacs speedbar... One with graphical display, one to run a subset of emacs with an imbedded listener. One for the controls... maybe with the menubar at the top. {That way all of the controls could be within a short mousing distance of each other} Large wheels rather than the motif bars, popup meters.... All of these could be individually sizable and placed wherever the user wants them. I've always liked the idea of a speedbar-like directory menu that you could use to run macros from. That way you could just point the "notebook" at a particular directory and have the files show up like lines on a page. {I suppose you could get fancy with fonts and all} Click on the macro and it outputs to snd... right click and it pops up a menu with the options to edit, run, run in a specific manner, pipe through such and such, etc... You could set up the interface so as to be suited to banks of samples and use a tabbed, notebook style format with different user defined directories for each page or window. :} Text based sample banks... Maybe the alternative of a mac-like menubar across the top of the screen. From ricktaylor at speakeasy.net Sat Sep 13 17:37:19 2003 From: ricktaylor at speakeasy.net (Rick Taylor) Date: Sat, 13 Sep 2003 19:37:19 -0500 Subject: [CM] Snd user-interface In-Reply-To: <20030913015713.5177e767.ricktaylor@speakeasy.net> References: <3F61AC6B.8060808@ccrma.stanford.edu> <20030913015713.5177e767.ricktaylor@speakeasy.net> Message-ID: <20030913193719.2360ef18.ricktaylor@speakeasy.net> > > Separate "modular" windows like sylpheed or emacs speedbar... It occurs to me that with a decent toolkit {like studioware} that this could almost extend to a reaktor-like authoring environment. From taube at uiuc.edu Sun Sep 14 10:19:32 2003 From: taube at uiuc.edu (Rick Taube) Date: Sun, 14 Sep 2003 12:19:32 -0500 Subject: [CM] cm problems In-Reply-To: <31651732.1063399063690.JavaMail.root@gonzo.psp.pas.earthlink.net> Message-ID: <000e01c37ae4$5de95210$64197e82@music.uiuc.edu> Hi, Here are URLs to the documentation on score file hooks: http://commonmusic.sourceforge.net/doc/dict/set-clm-output-hook-fn.html http://commonmusic.sourceforge.net/doc/dict/set-midi-output-hook-fn.html http://commonmusic.sourceforge.net/doc/dict/set-sco-output-hook-fn.html Also Chapter 15 in Notes from the Metalevel: http://pinhead.music.uiuc.edu/~hkt/nm/12/scores.html > I'm using cm 2.4-0 from the Planet ccrma dist. I'm trying to > set up a default midi player. In previous incarnations, in > cm I set up a "handler" file that was loaded on startup. Is > this used anymore, as I see that the "hook" thing is in use > now. A little confused... > Ken > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bil at ccrma.Stanford.EDU Mon Sep 15 04:59:47 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 15 Sep 2003 04:59:47 -0700 Subject: [CM] Snd user-interface In-Reply-To: <20030913015713.5177e767.ricktaylor@speakeasy.net> References: <3F61AC6B.8060808@ccrma.stanford.edu> <20030913015713.5177e767.ricktaylor@speakeasy.net> Message-ID: <3F65A9B3.2080105@ccrma.stanford.edu> > > > Separate "modular" windows like sylpheed or emacs speedbar... > I didn't know about speedbar, but it does look useful -- I'll download it and try it out. It appears to be similar to (but much fancier than) the current View:Files dialog. > :} Text based sample banks... > I don't know what these are -- I have code to deal with sound font files, some synth data files, and IEEE text-based sound files. > Maybe the alternative of a mac-like menubar across the top of the screen. > > > Is this dependent on the window manager? I could make a detachable menu that could be manually positioned at the top of the screen, I think (I haven't paid any attention to these "tear-off menus" before, so I'm just guessing here). From renueden at earthlink.net Mon Sep 15 07:20:37 2003 From: renueden at earthlink.net (Ken Locarnini) Date: Mon, 15 Sep 2003 07:20:37 -0700 (GMT-07:00) Subject: [CM] Linux Ports and plotter? Message-ID: <122735.1063635637821.JavaMail.root@skeeter.psp.pas.earthlink.net> I remember last year some talk of being able to write to a port in Linux. Has anyone got this working? I would like to use softsynths in Linux if possible. Also, is plotter still only a Mac thing? Thanks, Ken From finnendahl at folkwang-hochschule.de Tue Sep 23 05:43:16 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Tue, 23 Sep 2003 14:43:16 +0200 Subject: [CM] random stream with lists? Message-ID: <20030923124315.GB1869@finnendahl.de> Hi, does anybody know of a straightforward way to do random streams with lists as elements in cm 2.4? This obviously doesn't work, but shows what I mean: (new random :of '((2 1 3) (2) (3 1) (1 2)) :for 3) -> ((2 1 3) (1 2) (2 1 3)) I'd prefer not to use a random stream of numbers to reference the elements outside of the stream. -- Orm From johannes.quint at web.de Wed Sep 24 04:21:33 2003 From: johannes.quint at web.de (Johannes Quint) Date: Wed, 24 Sep 2003 13:21:33 +0200 Subject: [CM] openmcl-reference Message-ID: <4100F0A4-EE81-11D7-88B4-000393B906B6@web.de> does anyone know if there is an online-reference of openmcl in the web? thanks j.quint From botha_jacques at yahoo.com Wed Sep 24 05:19:01 2003 From: botha_jacques at yahoo.com (jacques botha) Date: Wed, 24 Sep 2003 05:19:01 -0700 (PDT) Subject: [CM] beginner's question (cmn) Message-ID: <20030924121901.87578.qmail@web20905.mail.yahoo.com> Hi I'm new to cmn, and would like to know if it's possible to display a quarter note without a stem. I've tried playin around with stem-length, but to no avail. Any help appreciated. Regards Jacques ===== "All one's life is music, if one touches the notes rightly, and in time." - John Ruskin From bil at ccrma.Stanford.EDU Wed Sep 24 05:42:54 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 24 Sep 2003 05:42:54 -0700 Subject: [CM] snd 6.12 Message-ID: <3F71914E.30102@ccrma.stanford.edu> Snd 6.12: Michael Scholz provided a translation of clm-ins.scm to Ruby: clm-ins.rb, and Forth versions of bird and bigbird! Also env.rb, spectr.rb, and spectr.scm. added 5 new colors (help-button-color etc). added more sophisticated cross-referencing to the help dialog, based on new snd-url function (with changes to index.scm, index.rb, etc). The old info-only aspect of the help dialog is now handled by info-dialog. Help menu choices changed. added snd->sample and xen->sample (Snd-specific) generators to redirect CLM's ina and friends automatically to Snd data. added show-all-axes-unlabelled and show-x-axis-unlabelled to get rid of the somewhat pointless x axis label. added just-sounds support in Gtk version (but it's still incomplete -- just keep clicking the ^%$^#! button). removed mouse-release-hook -- it was made redundant by mouse-click-hook. removed menu-hook -- the label-based approach was a mistake. removed bold-button-font and boldbuttonFont resource. changed html-program default to "mozilla" removed parse-rc-file, added support for Snd.gtkrc. GSL is no longer loaded if the local C has support for complex trig (ccos etc). GCC/Glibc appears to have this (it is part of ISO C99), and I didn't find any obvious bugs in it (leaving aside C++ grumbling). checked: gsl 1.4, clisp 2.31 (CLM/CMN), gtkglext 1.0.3 and 1.0.4, Gtk 2.2.4. Linuxppc support has become problematic -- the machine I was using for Linuxppc has finally died. In version 6.11 I got it to run by falling back on the standard computer repair method: "drop the damn thing and kick it". But even that trick didn't work this time. With much help from: Michael Scholz, Kjetil S. Matheussen, Anders Vinjar, Dave Phillips, Andrew, Rick Taylor, Friedrich Delgado Friedrichs, Oded Ben-Tal. From johannes.quint at web.de Wed Sep 24 05:47:04 2003 From: johannes.quint at web.de (Johannes Quint) Date: Wed, 24 Sep 2003 14:47:04 +0200 Subject: [CM] random stream with lists? In-Reply-To: <20030923124315.GB1869@finnendahl.de> Message-ID: <33587222-EE8D-11D7-88B4-000393B906B6@web.de> On Dienstag, September 23, 2003, at 02:43 Uhr, Orm Finnendahl wrote: > Hi, > > does anybody know of a straightforward way to do random streams with > lists as elements in cm 2.4? > > This obviously doesn't work, but shows what I mean: > > (new random :of '((2 1 3) (2) (3 1) (1 2)) :for 3) > > -> ((2 1 3) (1 2) (2 1 3)) > > I'd prefer not to use a random stream of numbers to reference the > elements outside of the stream. not so elegant, but it works: (setf x (new random :of (list (new chord :of '(2 1 3)) (new chord :of '(2)) (new chord :of '(3 1)) (new chord :of '(1 2)) ))) (next x 3) => ((2 1 3)(1 2)(2 1 3)) j. From anders.vinjar at notam02.no Wed Sep 24 05:57:36 2003 From: anders.vinjar at notam02.no (Anders Vinjar) Date: 24 Sep 2003 14:57:36 +0200 Subject: [CM] beginner's question (cmn) In-Reply-To: <20030924121901.87578.qmail@web20905.mail.yahoo.com> References: <20030924121901.87578.qmail@web20905.mail.yahoo.com> Message-ID: >>> "jb" == jacques botha writes: jb> Hi I'm new to cmn, and would like to know if it's jb> possible to display a quarter note without a stem. I've jb> tried playin around with stem-length, but to no avail. Give the message no-stem to the note. Its all documented very well in cmn.html. Heres an example: > (cmn (g4 q no-stem accent)) From finnendahl at folkwang-hochschule.de Wed Sep 24 06:24:44 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 24 Sep 2003 15:24:44 +0200 Subject: [CM] random stream with lists? In-Reply-To: <33587222-EE8D-11D7-88B4-000393B906B6@web.de> References: <20030923124315.GB1869@finnendahl.de> <33587222-EE8D-11D7-88B4-000393B906B6@web.de> Message-ID: <20030924132444.GA5738@finnendahl.de> Am 24. September 2003, 14:47 Uhr (+0200) schrieb Johannes Quint: > > not so elegant, but it works: > > (setf x > (new random :of > (list (new chord :of '(2 1 3)) > (new chord :of '(2)) > (new chord :of '(3 1)) > (new chord :of '(1 2)) > ))) > > (next x 3) > => > ((2 1 3)(1 2)(2 1 3)) Thanks, Johannes. That could get wrapped by a macro to look nicer. Only the computational overhead is a little annoying. I use guile and that seems to be quite slow. Even simple processes with 300 notes sometimes need > 10 seconds to evaluate :-( Did anybody on this list make any timing tests comparing scheme and lisp dialects using cm? -- Orm From taube at uiuc.edu Wed Sep 24 06:25:33 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 24 Sep 2003 08:25:33 -0500 Subject: [CM] random stream with lists? In-Reply-To: <20030923124315.GB1869@finnendahl.de> Message-ID: <933BE2C5-EE92-11D7-8A2D-000A95674CE4@uiuc.edu> To generate lists as elements you need to use the "long specification" form for each item in the random pattern: ( datum [:weight n] [:min n] [:max n]) In your case each 'datum' will be a list, for example: (new random :of '( ( (2 1 3) :weight 1) ( (2) :weight 1) ( (3 1) :weight 1) ( (1 2) :weight 1) ) :for 3) I included the :weight options in the example above so that you can see the format of the specification. But of course ':weight 1' is also the default value so you dont need to include these BUT you still need to use the "long specification" form. The end result is that it looks like each element is double list: (new random :of '( ((2 1 3) ) ((2) ) ((3 1) ) ((1 2) ) ) :for 3) The reason you need the long form is so that the pattern can tell the different between a list as an datumn and a list used as the "long form" specification itself! I hope this is clear. The dictionary should say somthing about this. On Tuesday, Sep 23, 2003, at 07:43 America/Chicago, Orm Finnendahl wrote: > Hi, > > does anybody know of a straightforward way to do random streams with > lists as elements in cm 2.4? > > This obviously doesn't work, but shows what I mean: > > (new random :of '((2 1 3) (2) (3 1) (1 2)) :for 3) > > -> ((2 1 3) (1 2) (2 1 3)) > > I'd prefer not to use a random stream of numbers to reference the > elements outside of the stream. > > -- > Orm > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Sep 24 06:42:43 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 24 Sep 2003 08:42:43 -0500 Subject: [CM] random stream with lists? In-Reply-To: <20030924132444.GA5738@finnendahl.de> Message-ID: > Did anybody on this list make any timing tests comparing scheme and > lisp dialects using cm? Not for a long time but Guile is certainly very slow even compared to Clisp. I had hoped to use it for the book CD but gave up after trying out the chapter examples in it. I think there was talk about a Guile compiler at one point, unfortunately the only thing slower than Guile is Guile development itself! From finnendahl at folkwang-hochschule.de Wed Sep 24 07:07:02 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 24 Sep 2003 16:07:02 +0200 Subject: [CM] random stream with lists? In-Reply-To: References: <20030924132444.GA5738@finnendahl.de> Message-ID: <20030924140702.GB5738@finnendahl.de> Hi Rick, Am 24. September 2003, 08:42 Uhr (-0500) schrieb Rick Taube: > > Not for a long time but Guile is certainly very slow even compared to > Clisp. I had hoped to use it for the book CD but gave up after trying > out the chapter examples in it. I think there was talk about a Guile > compiler at one point, unfortunately the only thing slower than Guile > is Guile development itself! Thanks for clearing that up. What a pity. In a way I prefer scheme to lisp especially for teaching. You mentioned some time ago that you had switched the sources of common music to scheme, autogenerating the lisp sources from that. Your mail seems to imply that you're using lisp for your own work or maybe that you got back to lisp altogether? Sorry for bugging you with those questions. I know that you've been busy with the book. I'm just asking as I was hoping for a long term perspective concerning the linux platform. It doesn't seem to be a good idea to teach students a language which probably isn't going to be performing fast enough for their future work. -- Orm From taube at uiuc.edu Wed Sep 24 07:34:01 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 24 Sep 2003 09:34:01 -0500 Subject: [CM] random stream with lists? In-Reply-To: <20030924140702.GB5738@finnendahl.de> Message-ID: <23CE9E7A-EE9C-11D7-8A2D-000A95674CE4@uiuc.edu> > Thanks for clearing that up. What a pity. In a way I prefer scheme to > lisp especially for teaching. You mentioned some time ago that you had > switched the sources of common music to scheme, autogenerating the > lisp sources from that. Its definately much easier to teach Scheme than CL. I personally prefer Scheme to CL so I use it myself. I would prefer to use Guile for my class but its just too slow for large projects. So my class uses an OpenMCL image but we continue to use scheme syntax. Obviously I hope that in the long term Guile will get faster. if not, I implemented scheme loop and made cm-2 single inheritance so that it could be ported more easily... > It doesn't seem to be a > good idea to teach students a language which probably isn't going to > be performing fast enough for their future work. Once a student knows Scheme (or CL) its trivial for them to switch to the other, and CM provides most of the scheme functions unless you tell it not to so I dont think its really that much of an issue. From finnendahl at folkwang-hochschule.de Wed Sep 24 07:37:42 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 24 Sep 2003 16:37:42 +0200 Subject: [CM] random stream with lists? In-Reply-To: <933BE2C5-EE92-11D7-8A2D-000A95674CE4@uiuc.edu> References: <20030923124315.GB1869@finnendahl.de> <933BE2C5-EE92-11D7-8A2D-000A95674CE4@uiuc.edu> Message-ID: <20030924143741.GC5738@finnendahl.de> Am 24. September 2003, 08:25 Uhr (-0500) schrieb Rick Taube: > > I included the :weight options in the example above so that you can see > the format of the specification. But of course ':weight 1' is also the > default value so you dont need to include these BUT you still need to > use the "long specification" form. The end result is that it looks > like each element is double list: > > (new random :of '( > ((2 1 3) ) > ((2) ) > ((3 1) ) > ((1 2) ) > ) > :for 3) Thanks again. I suspected something like that but wasn't smart enough to find it in the dictionary (I didn't even find it now grepping "long specification" in the dictionary html sources). I wrote a little wrapper to avoid the typing of the extra brackets in the default (:weight 1) case. I put it below in case someone is interested in rather trivial code. It's scheme. IIRC the lisp defmacro needs another bracket around the first 'args. (defmacro d-list args `(loop for elem in ',args collect (list elem))) (new random :of (d-list (2 1 3) (2) (3 1) (1 2)) :for 3) -- Orm From botha_jacques at yahoo.com Wed Sep 24 07:42:32 2003 From: botha_jacques at yahoo.com (jacques botha) Date: Wed, 24 Sep 2003 07:42:32 -0700 (PDT) Subject: [CM] beginner's question (cmn) In-Reply-To: Message-ID: <20030924144232.24362.qmail@web20901.mail.yahoo.com> Hi Anders Thanks very much. It works. Sorry for the stupid question. Will read the html next time. Jacques --- Anders Vinjar wrote: > >>> "jb" == jacques botha > writes: > > jb> Hi I'm new to cmn, and would like to know if > it's > jb> possible to display a quarter note without a > stem. I've > jb> tried playin around with stem-length, but to > no avail. > > Give the message no-stem to the note. Its all > documented very > well in cmn.html. Heres an example: > > > (cmn (g4 q no-stem accent)) > ===== "All one's life is music, if one touches the notes rightly, and in time." - John Ruskin From finnendahl at folkwang-hochschule.de Wed Sep 24 07:48:31 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 24 Sep 2003 16:48:31 +0200 Subject: [CM] random stream with lists? In-Reply-To: <23CE9E7A-EE9C-11D7-8A2D-000A95674CE4@uiuc.edu> References: <20030924140702.GB5738@finnendahl.de> <23CE9E7A-EE9C-11D7-8A2D-000A95674CE4@uiuc.edu> Message-ID: <20030924144831.GD5738@finnendahl.de> Am 24. September 2003, 09:34 Uhr (-0500) schrieb Rick Taube: > > Its definately much easier to teach Scheme than CL. I personally prefer > Scheme to CL so I use it myself. I would prefer to use Guile for my > class but its just too slow for large projects. So my class uses an > OpenMCL image but we continue to use scheme syntax. Does that mean you implemented scheme syntax in lisp? Maybe I could try to port that to CMUCL. > Once a student knows Scheme (or CL) its trivial for them to switch to > the other, and CM provides most of the scheme functions unless you tell > it not to so I dont think its really that much of an issue. You're probably right about that. I actually have some students who had learnt CL with me and are using scheme now. -- Orm From taube at uiuc.edu Wed Sep 24 08:25:09 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 24 Sep 2003 10:25:09 -0500 Subject: [CM] random stream with lists? In-Reply-To: <20030924144831.GD5738@finnendahl.de> Message-ID: <4860394D-EEA3-11D7-8A2D-000A95674CE4@uiuc.edu> > Does that mean you implemented scheme syntax in lisp? Maybe I could > try to port that to CMUCL.\ You dont have to port it -- its loaded automaticall into any CL image you build cm in unless you do (push :no-scheme *features*) first. look at src/scheme.lisp. But Its really a 'sugar coating' -- you get to use scheme procedure names, define, etc. but of course its not really scheme, ie (define (foo ...) ...) turns into (defun foo (...) ...) and (define foo 1) becomes (defparameter foo 1). In fact the define case is the worse case: in Scheme define creates a lexical variable but in CL its a defun and a special variable. scheme.lisp is provided so that cm code can be more "portable" between CL and Scheme, not to invent scheme in cl. From finnendahl at folkwang-hochschule.de Wed Sep 24 08:44:20 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 24 Sep 2003 17:44:20 +0200 Subject: [CM] random stream with lists? In-Reply-To: <4860394D-EEA3-11D7-8A2D-000A95674CE4@uiuc.edu> References: <20030924144831.GD5738@finnendahl.de> <4860394D-EEA3-11D7-8A2D-000A95674CE4@uiuc.edu> Message-ID: <20030924154420.GE5738@finnendahl.de> Am 24. September 2003, 10:25 Uhr (-0500) schrieb Rick Taube: > > You dont have to port it -- its loaded automaticall into any CL image > you build cm in unless you do (push :no-scheme *features*) first. look > at src/scheme.lisp. But Its really a 'sugar coating' -- you get to use > scheme procedure names, define, etc. but of course its not really > scheme, ie (define (foo ...) ...) turns into (defun foo (...) ...) and > (define foo 1) becomes (defparameter foo 1). In fact the define case > is the worse case: in Scheme define creates a lexical variable but in > CL its a defun and a special variable. scheme.lisp is provided so that > cm code can be more "portable" between CL and Scheme, not to invent > scheme in cl. That's very handy nevertheless. I'll check it out for my classes. If people can't get around using call-with-current-continuation or letrec, they will have to use guile then (but if they are at that point I guess it doesn't matter to them anymore which language they use ;-) -- Orm P.S.: BTW: Your book is excellent. From finnendahl at folkwang-hochschule.de Wed Sep 24 10:10:15 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 24 Sep 2003 19:10:15 +0200 Subject: [CM] random stream with lists? In-Reply-To: <4EE5B0E0-EEB1-11D7-83E6-000A95674CE4@uiuc.edu> References: <20030924154420.GE5738@finnendahl.de> <4EE5B0E0-EEB1-11D7-83E6-000A95674CE4@uiuc.edu> Message-ID: <20030924171015.GG5738@finnendahl.de> Am 24. September 2003, 12:05 Uhr (-0500) schrieb Rick Taube: > > if they have lots of code to move over they can use cm's scheme-to-cltl > translator to move it over to cltl. > It will handle letrec (but not call-with-current-continuation). the > file is src/stocl.lisp. this is the file that cm uses to generates its > cl sources. Thanks. I'll look into that, too then. -- Orm From taube at uiuc.edu Wed Sep 24 10:05:33 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 24 Sep 2003 12:05:33 -0500 Subject: [CM] random stream with lists? In-Reply-To: <20030924154420.GE5738@finnendahl.de> Message-ID: <4EE5B0E0-EEB1-11D7-83E6-000A95674CE4@uiuc.edu> > > That's very handy nevertheless. I'll check it out for my classes. If > people can't get around using call-with-current-continuation or > letrec, they will have to use guile then (but if they are at that > point I guess it doesn't matter to them anymore which language they > use ;-) if they have lots of code to move over they can use cm's scheme-to-cltl translator to move it over to cltl. It will handle letrec (but not call-with-current-continuation). the file is src/stocl.lisp. this is the file that cm uses to generates its cl sources. From renueden at earthlink.net Sat Sep 27 08:51:49 2003 From: renueden at earthlink.net (Ken Locarnini) Date: Sat, 27 Sep 2003 08:51:49 -0700 Subject: [CM] snd ->sample looping Message-ID: <3F75B215.3070708@earthlink.net> is it possible to do the above in snd? i can't find any info on that? ken From noel at x-31.com Sun Sep 28 10:28:45 2003 From: noel at x-31.com (Noel Bush) Date: Sun, 28 Sep 2003 13:28:45 -0400 Subject: [CM] lilypond-2.0 package missing ly2dvi Message-ID: <1064770125.6905.21.camel@localhost> The new lilypond-2.0 rpm is missing ly2dvi. That appears to be the only omission from /usr/bin: # cd /var/cache/apt/archives/ # rpm -q --package --list lilypond_2.0.0-1.rh90_i386.rpm | grep /usr/bin /usr/bin/abc2ly /usr/bin/as2text /usr/bin/convert-ly /usr/bin/etf2ly /usr/bin/lilypond /usr/bin/lilypond-bin /usr/bin/lilypond-book /usr/bin/midi2ly /usr/bin/mup2ly /usr/bin/musedata2ly /usr/bin/pmx2ly # rpm -q --package --list lilypond_1.8.2-1.rh90_i386.rpm | grep /usr/bin /usr/bin/abc2ly /usr/bin/as2text /usr/bin/convert-ly /usr/bin/etf2ly /usr/bin/lilypond /usr/bin/lilypond-book /usr/bin/ly2dvi /usr/bin/midi2ly /usr/bin/mup2ly /usr/bin/musedata2ly /usr/bin/pmx2ly From nando at ccrma.Stanford.EDU Sun Sep 28 18:15:38 2003 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 28 Sep 2003 18:15:38 -0700 Subject: [CM] lilypond-2.0 package missing ly2dvi In-Reply-To: <1064770125.6905.21.camel@localhost> References: <1064770125.6905.21.camel@localhost> Message-ID: <1064798137.9441.36.camel@cmn37.stanford.edu> [most probably this post was meant for the Planet CCRMA list?] > The new lilypond-2.0 rpm is missing ly2dvi. That appears to be the only > omission from /usr/bin: > > # cd /var/cache/apt/archives/ > # rpm -q --package --list lilypond_2.0.0-1.rh90_i386.rpm | grep /usr/bin > /usr/bin/abc2ly > /usr/bin/as2text > /usr/bin/convert-ly > /usr/bin/etf2ly > /usr/bin/lilypond > /usr/bin/lilypond-bin > /usr/bin/lilypond-book > /usr/bin/midi2ly > /usr/bin/mup2ly > /usr/bin/musedata2ly > /usr/bin/pmx2ly > # rpm -q --package --list lilypond_1.8.2-1.rh90_i386.rpm | grep /usr/bin > /usr/bin/abc2ly > /usr/bin/as2text > /usr/bin/convert-ly > /usr/bin/etf2ly > /usr/bin/lilypond > /usr/bin/lilypond-book > /usr/bin/ly2dvi > /usr/bin/midi2ly > /usr/bin/mup2ly > /usr/bin/musedata2ly > /usr/bin/pmx2ly It is not an error, lilypond 2.0.0 does not have ly2dvi, I don't use lilypond (I just tested a very simple example to make sure it was working) so I don't know what is the equivalent way of doing the same thing, I'm sure there is one. I think just running lilypond created a dvi file when I tried it... -- Fernando From bil at ccrma.Stanford.EDU Mon Sep 29 04:36:58 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 29 Sep 2003 04:36:58 -0700 Subject: [CM] Re: snd->sample looping Message-ID: <3F78195A.3020001@ccrma> > is it possible to do the above in snd? i can't find any info on that? In the "Play" help there are these references: To play continuously between two marks: loop-between-marks To play repeatedly: play-often To play repeatedly until C-g: play-until-c-g To play region repeatedly: play-region-forever These are in play.scm -- is this what you had in mind? From finnendahl at folkwang-hochschule.de Mon Sep 29 00:05:01 2003 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Mon, 29 Sep 2003 09:05:01 +0200 Subject: [CM] buffersize in snd/cursor in playback Message-ID: <20030929070500.GA1108@finnendahl.de> Hi, 2 Questions: 1. Is there a way to increase the alsa buffer size when using snd? I'm trying to play a 5-channel file from disk but get lots of underruns. 2. Is it possible to have a visible moving cursor showing the current playback position in the soundfile? I'm using snd 6.2. Do I have to upgrade to get any of those features? Thanks, Orm From botha_jacques at yahoo.com Mon Sep 29 13:54:04 2003 From: botha_jacques at yahoo.com (jacques botha) Date: Mon, 29 Sep 2003 13:54:04 -0700 (PDT) Subject: [CM] spacing of notes : please help Message-ID: <20030929205404.5530.qmail@web20906.mail.yahoo.com> Hi there I'm quite new to cmn. I'm trying to write out some chord notes to help me practising, and would like to display them as whole notes in a bar, eg for C major : C D E F G A B C, with the chord notes (C E G B) filled in. Very basic. However, the notes are not evenly spaced in the bar. I have the following : (cmn (output-file "./jacques/mwa_solo.eps") (size 20) (staff treble (meter 4 4) bar (unmetered) (d4 q no-stem) (e4 h no-stem) (fs4 q no-stem) (g4 h no-stem) (a4 q no-stem) (b4 h no-stem) (cs5 q no-stem) (d5 h no-stem) bar (unmetered) repeat-measure bar (unmetered) (cs4 q no-stem) (d4 h no-stem) (e4 h no-stem) (f4 q no-stem) (g4 h no-stem) (a4 q no-stem) (b4 q no-stem) (cs5 h no-stem) bar (unmetered) (cs4 q no-stem) (d4 h no-stem) (e4 h no-stem) (f4 q no-stem) (g4 h no-stem) (a4 q no-stem) (b4 q no-stem) (cs5 h no-stem) ) ) In the last 2 bars, the first note (C sharp) is quite a distance away from the rest... how can I make it look like the first bar ? Any help appreciated. Thanks. Jacques ===== "All one's life is music, if one touches the notes rightly, and in time." - John Ruskin From juanig at ccrma.Stanford.EDU Mon Sep 29 18:31:55 2003 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: 29 Sep 2003 18:31:55 -0700 Subject: [CM] spacing of notes : please help In-Reply-To: <20030929205404.5530.qmail@web20906.mail.yahoo.com> References: <20030929205404.5530.qmail@web20906.mail.yahoo.com> Message-ID: <1064885523.1245.5.camel@coconut> > > However, the notes are not evenly spaced in the bar. I > have the following : > You can use one of the global spacing variables or if you need more flexibility, you can use the dx function like: (cs5 h no-stem (dx -1.33)) --Juan From botha_jacques at yahoo.com Tue Sep 30 01:32:02 2003 From: botha_jacques at yahoo.com (jacques botha) Date: Tue, 30 Sep 2003 01:32:02 -0700 (PDT) Subject: [CM] spacing of notes : please help In-Reply-To: <1064885523.1245.5.camel@coconut> Message-ID: <20030930083202.61217.qmail@web20903.mail.yahoo.com> Hi Juan Thanks for the help. Just a question : what do you mean by "one of the global spacing variables". I read cmn.html for help, but can't find anything on that. Jacques --- Juan Reyes wrote: > > > > > However, the notes are not evenly spaced in the > bar. I > > have the following : > > > You can use one of the global spacing variables or > if you need more > flexibility, you can use the dx function like: > > (cs5 h no-stem (dx -1.33)) > > --Juan > ===== "All one's life is music, if one touches the notes rightly, and in time." - John Ruskin From lb at zkm.de Tue Sep 30 03:12:59 2003 From: lb at zkm.de (Ludger Bruemmer) Date: Tue, 30 Sep 2003 12:12:59 +0200 Subject: [CM] buffersize in snd/cursor in playback In-Reply-To: <20030929070500.GA1108@finnendahl.de> Message-ID: Hi Orm, at least for question 2 I have an answer: Just press Control while clicking the play button. This puts a cursor on the playing sound position. ludger Am Montag, 29.09.03 um 09:05 Uhr schrieb Orm Finnendahl: > Hi, > > 2 Questions: > > 1. Is there a way to increase the alsa buffer size when using snd? I'm > trying to play a 5-channel file from disk but get lots of underruns. > > 2. Is it possible to have a visible moving cursor showing the current > playback position in the soundfile? > > I'm using snd 6.2. Do I have to upgrade to get any of those features? > > Thanks, > Orm > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > Ludger Br?mmer Leitung Institut f?r Musik und Akustik Director of Institute for Music and Acoustics /////// / |< ||| | ZKM|Zentrum f?r Kunst und Medientechnologie /////// / |< ||| | Center for Art and Media /////// / |< ||| | Centre d'Art et de Technologie des Medias Lorenzstrasse 19 . D - 76135 Karlsruhe P.O. Box 6909 . D - 76049 Karlsruhe Phone ++49 721 8100-1600 Fax ++49 721 8100-1699 email: ludi at zkm.de http://www.zkm.de http://www.sumtone.com/lb From juanig at ccrma.Stanford.EDU Tue Sep 30 04:12:15 2003 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Tue, 30 Sep 2003 04:12:15 -0700 (PDT) Subject: [CM] spacing of notes : please help In-Reply-To: <20030930083202.61217.qmail@web20903.mail.yahoo.com> Message-ID: Hi Jacques, The global variables are those which are under the "overall style" in the cmn manual perhaps free-expansion-factor might also help, size-scaler also. You can set this variables just before you call the cmn function in a Lisp file or in the Lisp listener. There are some examples just after the "overall style" section in the manual. --Juan On Tue, 30 Sep 2003, jacques botha wrote: > Hi Juan > > Thanks for the help. Just a question : what do you > mean by "one of the global spacing variables". I read > cmn.html for help, but can't find anything on that. > > Jacques > From vilisom at verso.st.jyu.fi Mon Sep 29 23:54:53 2003 From: vilisom at verso.st.jyu.fi (Ville Isomottonen) Date: Tue, 30 Sep 2003 09:54:53 +0300 (EEST) Subject: [CM] input/output with xemacs Message-ID: Hi A newbie question. I'm using xemacs and ilisp (cmucl) and I'm little confused about the buffers. I'm tyrin to do a simple output/input to terminal. output goes to *cmucl* buffer, but it seems like system stays in some kind of interactive state when I try to input from terminal (from *cmucl* buffer). What is a good way to handle simple terminal-io with xemacs and ilisp. In fact, I don't know where should I type the input (which buffer? same where the ouput goes (*cmucl*)) and how do I get the system evaluate it. Thanks, Ville Isom?tt?nen From juanig at ccrma.Stanford.EDU Tue Sep 30 04:29:20 2003 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Tue, 30 Sep 2003 04:29:20 -0700 (PDT) Subject: [CM] buffersize in snd/cursor in playback In-Reply-To: Message-ID: Hi Orm, In regards to question one, in Linux I use the jacklaunch command preceeding snd or sndplay and helps the situation. Jacklaunch is part of Libjackasyn but you also need the the Jack audio server. Libjackasyn and Jack are in planet CCRMA. I have used it with 8 channel soundfiles and really improves playback but depending on your operating system you might want to stop crond processes and may be use another hard drive as audio spare in order to help improving latency and reducing underruns. -- Juan On Tue, 30 Sep 2003, Ludger Bruemmer wrote: > Hi Orm, > > at least for question 2 I have an answer: > > Just press Control while clicking the play button. This puts a cursor > on the playing sound position. > > ludger > > > Am Montag, 29.09.03 um 09:05 Uhr schrieb Orm Finnendahl: > > > Hi, > > > > 2 Questions: > > > > 1. Is there a way to increase the alsa buffer size when using snd? I'm > > trying to play a 5-channel file from disk but get lots of underruns. > > > > 2. Is it possible to have a visible moving cursor showing the current > > playback position in the soundfile? > > > > I'm using snd 6.2. Do I have to upgrade to get any of those features? > > > > Thanks, > > Orm > > > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > > Ludger Br?mmer > > Leitung Institut f?r Musik und Akustik > Director of Institute for Music and Acoustics > > /////// / |< ||| | ZKM|Zentrum f?r Kunst und Medientechnologie > /////// / |< ||| | Center for Art and Media > /////// / |< ||| | Centre d'Art et de Technologie des Medias > > Lorenzstrasse 19 . D - 76135 Karlsruhe > P.O. Box 6909 . D - 76049 Karlsruhe > > Phone ++49 721 8100-1600 Fax ++49 721 8100-1699 > email: ludi at zkm.de http://www.zkm.de http://www.sumtone.com/lb > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bil at ccrma.Stanford.EDU Tue Sep 30 04:38:53 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 30 Sep 2003 04:38:53 -0700 Subject: [CM] buffersize in snd/cursor in playback In-Reply-To: <20030929070500.GA1108@finnendahl.de> References: <20030929070500.GA1108@finnendahl.de> Message-ID: <3F796B4D.80908@ccrma> For the "tracking cursor", see extsnd.html#sndcursorfollowsplay, cursor-follows-play. From johannes.quint at web.de Tue Sep 30 05:38:18 2003 From: johannes.quint at web.de (Johannes Quint) Date: Tue, 30 Sep 2003 14:38:18 +0200 Subject: [CM] rotation-pattern Message-ID: is it possible to get the following with a rotation-pattern? (setf x (new rotation :of '(a b c d e) :rotations ??? )) (next x 25) => a b c d e c d e a b e a b c d b c d e a d e a b c in my memory, there was a way, by i don't remember it. thanks, johannes From johannes.quint at web.de Tue Sep 30 11:28:49 2003 From: johannes.quint at web.de (Johannes Quint) Date: Tue, 30 Sep 2003 20:28:49 +0200 Subject: [CM] rotation-pattern Message-ID: is it possible to get the following with a rotation-pattern? (setf x (new rotation :of '(a b c d e) :rotations ??? )) (next x 25) => a b c d e c d e a b e a b c d b c d e a d e a b c in my memory, there was a way, by i don't remember it. thanks, johannes __ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://private.addcom.de/j.quint/index.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 452 bytes Desc: not available URL: From taube at uiuc.edu Tue Sep 30 11:32:09 2003 From: taube at uiuc.edu (Rick Taube) Date: Tue, 30 Sep 2003 13:32:09 -0500 Subject: [CM] rotation-pattern In-Reply-To: Message-ID: <66BD5047-F374-11D7-96F4-000A95674CE4@uiuc.edu> >is it possible to get the following with a rotation-pattern? offhand i dont think so -- it looks like what yhou want is some sort of "double" rotation, ie your pattern is as if the default rotation happened twice per periond instead of once. You could do it easily enough as a funcall pattern: (define (double-shift l) (new funcall :of #'(lambda () (let ((val l)) (set! l (append (cddr l) (list (first l) (second l)))) val)))) (define x (double-shift '(a b c d e))) (next x 25) (A B C D E C D E A B E A B C D B C D E A D E A B C)