From thomaslambert at altern.org Tue May 1 02:59:50 2007 From: thomaslambert at altern.org (Thomas Lambert) Date: Tue, 1 May 2007 11:59:50 +0200 (CEST) Subject: [CM] Receiving from portmidi In-Reply-To: <1796.195.132.181.2.1177888617.squirrel@www.altern.org> References: <1796.195.132.181.2.1177888617.squirrel@www.altern.org> Message-ID: <3628.195.132.181.2.1178013590.squirrel@www.altern.org> Ok i really am in 2.11.0 and receiving won't work. You can really see that portmidi-open is starting the receive : CM> (receiver? *pm*) NIL CM> (define *pm* (portmidi-open :latency 0 :input 6)) ; No value CM> (receiver? *pm*) T In pm.scm (revision 1.47), i can seen that portmidi-open calls rt-stream-receive-data via open-io, right after Pm:OpenInput. So again it seems designed to behave that way. Could someone test example 3 from portmidi topic (http://commonmusic.sourceforge.net/doc/dict/portmidi-topic.html) ? You don't really need incoming data, a quick copy-paste with corresponding input pm id will be enough to know if the problem comes from my setup. Cause I know must be missing something but I'm running out of leads. > Hello common music people, > > Here's the big picture : I can't receive any midi events, sending seem to > be working and i'd really appreciate some help. > > I'm really looking forward to a working setup, i already read Notes From > The Metalevel and am on the starting block. > > I'm using last stable cffi 0.9.2 > sbcl 1:1.0.0.0-1 > last ubuntu linux feisty fawn (with bash) > > I first thought this problem might come from a too old portmidi but i have > now the libportmidi from sources (thanks rick ! -> i also found a cvs > makefile on the cmdist mailing list > http://ccrma-mail.stanford.edu/pipermail/cmdist/2005-December/002855.html) > > Many problems were solved by using cvs rather than stable releases of CM > so now i only use cvs (portmidi interface, cm and rts) > > rts and portmidi loads quite well > > I'm running in a Terminal to ease the debug. > > * (cm-version) > "Common Music 2.10.0" > (With last cvs shouldn't it be 2.11.0 ?) > > I try the rts' topic example 3, when evaluating set-receiver! i have the > following error : > > debugger invoked on a SIMPLE-ERROR in thread # {A82F5D1}>: > set-receiver!: # already > receiving. > > So i uncommented the portmidi-record! code to be able to test the third > example of portmidi topic : > > debugger invoked on a SIMPLE-ERROR in thread # {A82F5D1}>: > portmidi-record!: receiver already active. > > It seems that CM is receiving as soon as the portmidi-open fonction is > used. > I checked the code of set-receiver but the problem wasn't obvious to me > > Maybe this is all normal but then how do i store received data to a Seq ? > > Thanks, > > Thomas > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > !DSPAM:46351ebe201411217419413! > > > From bil at ccrma.Stanford.EDU Tue May 1 04:28:37 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 1 May 2007 04:28:37 -0700 Subject: [CM] Snd 9.0 Message-ID: <20070501112547.M13374@ccrma.Stanford.EDU> Snd 9.0 I discarded the old recorder and the track support, and completely revamped the virtual mix support -- enough changes to warrant a new major version. the recorder: completely discarded the old recorder and its functions -- these are gone: recorder-autoload recorder-buffer-size recorder-file recorder-file-hook recorder-gain recorder-in-amp recorder-in-chans recorder-in-data-format recorder-in-device recorder-max-duration recorder-out-amp recorder-out-chans recorder-out-data-format recorder-out-header-type recorder-srate recorder-trigger vu-in-dB vu-size due to hardware troubles, I haven't fully tested the new recorder. tracks: removed: replacement: copy-track delete-all-tracks silence-all-mixes delete-track silence-mixes filter-track free-track lock-track make-track make-track-frame-reader make-track-sample-reader mix-track play-track play-mixes read-track-frame read-track-sample retempo-track scale-tempo reverse-track scale-tempo by a negative scaler save-track save-mixes set-all-tracks sync-mixes track (now any list of mix ids) -- syncd-mixes follows the mix-sync value track->sound-data (see save-mixes) track->vct (see save-mixes) track-amp scale-mixes track-amp-env env-mixes track-chans track-color color-mixes track-dialog-track track-frames mixes-length track-maxamp mixes-maxamp track-name track-position move-mixes track-property track-sample-reader? track-speed src-mixes track-speed-style track-tag-y set-mixes-tag-y track-tempo scale-tempo track-track track? (now just a list) tracks transpose-track transpose-mixes view-tracks-dialog removed track-colors.scm and mix-menu.scm removed all track-related arguments from functions such as mix-vct, mix, and mix-region removed tempo-control-bounds completely rewrote the virtual mix support: these are gone: copy-mix delete-mix (set mix-amp to 0.0) mix-chans (each mix is one chan in -> one chan out) mix-inverted? mix-locked? mix-speed-style mix-tag-position changed mix-frames -> mix-length delete-all-mixes -> silence-all-mixes pan-mix (mix.scm) and all its friends added edit-properties edit-property accessor in extensions.scm mix-sync mix.scm: scale-mixes silence-mixes move-mixes src-mixes transpose-mixes color-mixes set-mixes-tag-y mixes-maxamp scale-tempo mixes-length save-mixes env-mixes sync-all-mixes syncd-mixes play-mixes moved mix-properties into C. "mix" function now handles one channel in and out and the position defaults to 0 (not the cursor) the 1st arg to "play" can be a function that produces samples to be sent to the DAC, or controls other such processes -- see play-mixes in mix.scm for an example. infinite improvements thanks to Mike spokenword.scm thanks to Ville Koskinen checked: fftw 3.2a, cairo 1.4.2|4, sbcl 1.0.4, pango 1.16.2|4, Gauche 0.8.10 Thanks!: Mike Scholz, Esben Stien, Michael Edwards, Ville Koskinen, "bigcab" From taube at uiuc.edu Tue May 1 09:40:31 2007 From: taube at uiuc.edu (Rick Taube) Date: Tue, 1 May 2007 11:40:31 -0500 Subject: [CM] Receiving from portmidi In-Reply-To: <3628.195.132.181.2.1178013590.squirrel@www.altern.org> References: <1796.195.132.181.2.1177888617.squirrel@www.altern.org> <3628.195.132.181.2.1178013590.squirrel@www.altern.org> Message-ID: <426446F2-5FF8-4959-A4B1-9E6331BCF0AB@uiuc.edu> this sounds like a bug but i need to find a keyboard and test it out. im totally booked today, will try to look at it tomorrow. apologies for the delay! --rick From landspeedrecord at gmail.com Tue May 1 15:13:24 2007 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Tue, 1 May 2007 18:13:24 -0400 Subject: [CM] Problem with loop/collect Message-ID: Hi... I was doing the tutorial and I keep getting an error. It seems to be related to collecting a list of the outputs of 2 seperate processes. I am running Common Music 2.10, Xemacs/Clisp on an WinXP machine. I am fairly certain I am not doing anything newbie/stupid. Any help is much appreciated! Here is the simple bit of code Common Music doesn't like: (events (loop repeat 8 collect (list (jazz-high-hat 120 .99) (jazz-drums 120 .99))) "jazz.mid" '(0 2 4 6 8 10 12 14)) The code is from here: http://commonmusic.sourceforge.net/etc/tutorials/jazz.lisp I am simply entering in the code from the tutorial... Here is the error I get: APPLY: too many arguments given to #1=# [Condition of type SYSTEM::SIMPLE-PROGRAM-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] ABORT Backtrace: 0: # 1: # 2: # 3: # 4: # 5: # 6: # 7: # 8: # 9: # 10: # 11: # 12: # 13: # 14: # 15: # 16: # 17: # 18: # 19: # --more-- From taube at uiuc.edu Tue May 1 15:52:49 2007 From: taube at uiuc.edu (Rick Taube) Date: Tue, 1 May 2007 17:52:49 -0500 Subject: [CM] Problem with loop/collect In-Reply-To: References: Message-ID: <4EF7C424-1948-4A58-BF3B-5C1ED729CB37@uiuc.edu> try: (events (loop repeat 8 APPEND (list (jazz-high-hat 120 .99) (jazz-drums 120 .99))) "jazz.mid" '(0 2 4 6 8 10 12 14)) or if you prefer: (events (loop repeat 8 collect (jazz-high-hat 120 .99) collect (jazz-drums 120 .99)) "jazz.mid" '(0 2 4 6 8 10 12 14)) or even: loop with procs = {} repeat 8 set procs ^= list( jazz-high-hat(120, .99), jazz-drums( 120, .99)) finally sprout procs, {0 2 4 6 8 10 12 14} end From landspeedrecord at gmail.com Tue May 1 16:13:41 2007 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Tue, 1 May 2007 19:13:41 -0400 Subject: [CM] Problem with loop/collect In-Reply-To: <4EF7C424-1948-4A58-BF3B-5C1ED729CB37@uiuc.edu> References: <4EF7C424-1948-4A58-BF3B-5C1ED729CB37@uiuc.edu> Message-ID: The top 2 variations worked. Why did the version in the tutorial not work? Something to do with the version of CM I am using? Or the fact that I am on Win XP? P.S. Thanks yet again Rick! From taube at uiuc.edu Tue May 1 16:15:31 2007 From: taube at uiuc.edu (Rick Taube) Date: Tue, 1 May 2007 18:15:31 -0500 Subject: [CM] Problem with loop/collect In-Reply-To: References: <4EF7C424-1948-4A58-BF3B-5C1ED729CB37@uiuc.edu> Message-ID: (events ....) expects a flat (single-level) list. when you do ... collect (list ...) you end up with a two level list, ie a list of lists. On May 1, 2007, at 6:13 PM, Landspeedrecord wrote: > The top 2 variations worked. Why did the version in the tutorial not > work? Something to do with the version of CM I am using? Or the fact > that I am on Win XP? > > P.S. Thanks yet again Rick! From landspeedrecord at gmail.com Tue May 1 17:56:22 2007 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Tue, 1 May 2007 20:56:22 -0400 Subject: [CM] Multiple processes at one time - revisited Message-ID: Hi, I wrote a function that randomly grabs other functions. I am trying to have it loop in a call to events... (events (loop repeat 8 APPEND (random-function-caller 4 5 .2) "random-functions.mid" '(0 5 10 15 20 25 30 35)) The problem I am having is that the functions don't play nice with 'events' because some return multiple objects and others don't. In addition, since the function is randomly grabbing other functions there is no way to have the time offsets properly match in a one to one correspondance with the object(s) returned by the functions that are returned by the random-function-caller. Is this an abnormal problem? That is... am I going about things wrong headed conceptually by embedding function inside of functions or am I just trying to do something unusual? The only work around I can think of is to force all the functions to return only one object... Which I don't know how to do. Many of the functions I have written are running multiple processes and even if I do an (append (list process1 process2)) the functions still return the 2 processes as two seperate objects. So... do I adjust my whole approach and if not what solutions do I have besides forcing 2 objects into 1? From johannes.quint at web.de Wed May 2 16:01:30 2007 From: johannes.quint at web.de (Johannes Quint) Date: Thu, 3 May 2007 01:01:30 +0200 Subject: [CM] midiplayer/windows Message-ID: <7761B48F-2D7A-4860-B539-823EA8E4DCE1@web.de> can anyone help me setting the default-midiplayer for cm/windows xp/ clisp? when i try (setf *midi-player* "C:/Programme/Windows Media Player/mplayer2.exe") or (setf *midi-player* "C:/Programme/Windows Media Player/wmplayer.exe") nothing happens. thanks, johannes _________________________ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://www.johannes-quint.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomaslambert at altern.org Thu May 3 03:08:56 2007 From: thomaslambert at altern.org (Thomas Lambert) Date: Thu, 3 May 2007 12:08:56 +0200 (CEST) Subject: [CM] midiplayer/windows In-Reply-To: <7761B48F-2D7A-4860-B539-823EA8E4DCE1@web.de> References: <7761B48F-2D7A-4860-B539-823EA8E4DCE1@web.de> Message-ID: <41920.194.2.91.222.1178186936.squirrel@www.altern.org> Well i may be wrong but shouldn't windows path use backslash ? (setf *midi-player* "C:\Programme\Windows Media Player\mplayer2.exe") Thomas www.lame-spirale.net > can anyone help me setting the default-midiplayer for cm/windows xp/ > clisp? > > when i try > (setf *midi-player* "C:/Programme/Windows Media Player/mplayer2.exe") > or > (setf *midi-player* "C:/Programme/Windows Media Player/wmplayer.exe") > nothing happens. > > thanks, johannes > > _________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.de > http://www.johannes-quint.de > > > > !DSPAM:463935db315001355422449! > From landspeedrecord at gmail.com Thu May 3 13:56:56 2007 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Thu, 3 May 2007 16:56:56 -0400 Subject: [CM] Really quick question! (SET-MIDI-FILE-VERSIONS!) Message-ID: Hi... I am trying to use SET-MIDI-FILE-VERSIONS! but it isn't working. The error I get is: EVAL: undefined function SET-MIDI-FILE-VERSIONS! [Condition of type SYSTEM::SIMPLE-UNDEFINED-FUNCTION] The call to the function that fails looks like this: (set-midi-file-versions! t) Any ideas? I am on XP using cm 2.10 on CLISP and XEmacs Thanks. From taube at uiuc.edu Thu May 3 14:49:58 2007 From: taube at uiuc.edu (Rick Taube) Date: Thu, 3 May 2007 16:49:58 -0500 Subject: [CM] Really quick question! (SET-MIDI-FILE-VERSIONS!) In-Reply-To: References: Message-ID: <22ED7116-EDFA-44CA-903D-93079B3D3FA3@uiuc.edu> you can do it in the events call itself: (events (foo 1 2) "foo.mid" :versioning t ) in sal use the open command: open "foo.mid", versioning: #t sprout foo(1,2) On May 3, 2007, at 3:56 PM, Landspeedrecord wrote: > Hi... I am trying to use SET-MIDI-FILE-VERSIONS! but it isn't working. > > The error I get is: > > EVAL: undefined function SET-MIDI-FILE-VERSIONS! > [Condition of type SYSTEM::SIMPLE-UNDEFINED-FUNCTION] > > The call to the function that fails looks like this: > (set-midi-file-versions! t) > > Any ideas? I am on XP using cm 2.10 on CLISP and XEmacs > > Thanks. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From landspeedrecord at gmail.com Thu May 3 17:00:08 2007 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Thu, 3 May 2007 20:00:08 -0400 Subject: [CM] midiplayer/windows In-Reply-To: <7761B48F-2D7A-4860-B539-823EA8E4DCE1@web.de> References: <7761B48F-2D7A-4860-B539-823EA8E4DCE1@web.de> Message-ID: Try this... (setf *midi-player* "\\\"Program Files\\Windows Media Player\"\\mplayer2.exe") This assumes that the media player is located in C:\Program Files\Windows Media Player I could be wrong about this, I am no expert but you could also try... (setf *midi-player* "\"C:\\Program Files\\Windows Media Player\\mplayer2.exe\"") the idea is that the backslashes force lisp to read the inner quotes (which XP needs to see the paths with spaces in them) and the double backslashes force lisp to read the backslashes which it normally ignores as a command to escape the next character. Good luck! On 5/2/07, Johannes Quint wrote: > can anyone help me setting the default-midiplayer for cm/windows xp/clisp? > > when i try > (setf *midi-player* "C:/Programme/Windows Media Player/mplayer2.exe") > or > (setf *midi-player* "C:/Programme/Windows Media Player/wmplayer.exe") > nothing happens. > > thanks, johannes > > > _________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.dehttp://www.johannes-quint.de > From achim.bornhoeft at web.de Fri May 4 04:29:26 2007 From: achim.bornhoeft at web.de (Achim Bornhoeft) Date: Fri, 04 May 2007 13:29:26 +0200 Subject: [CM] bit depth Message-ID: <463B1916.6050709@web.de> Hello, how can I change the bit depth of the output file in a with sound call in CLM? Thanks for your help. Achim -- -- achim bornhoeft -- neckarhalde 38 -- d-72070 t?bingen -- tel/fax +49 (0)7071 942745 -- mobil +49 (0)179 6936930 -- From nando at ccrma.Stanford.EDU Fri May 4 10:05:55 2007 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Fri, 04 May 2007 10:05:55 -0700 Subject: [CM] bit depth In-Reply-To: <463B1916.6050709@web.de> References: <463B1916.6050709@web.de> Message-ID: <1178298355.10477.11.camel@cmn3.stanford.edu> On Fri, 2007-05-04 at 13:29 +0200, Achim Bornhoeft wrote: > Hello, > how can I change the bit depth of the output file in a with sound call > in CLM? I think you need :data-format in with-sound with the proper argument. For example: :data-format mus-b24int will create a soundfile with 24 bit samples in it (you can combine this with :header-type to select the type of file to write). -- Fernando From unaudio at gmail.com Fri May 4 13:40:14 2007 From: unaudio at gmail.com (phundamental unaudio) Date: Fri, 4 May 2007 23:40:14 +0300 Subject: [CM] snd compilation problem Message-ID: I'm trying to compile snd 9.0 on opensuse. I get the following error snd-xen.c: In function 'snd_catch_scm_error': snd-xen.c:458: error: 'scm_the_last_stack_fluid' undeclared (first use in this function) snd-xen.c:458: error: (Each undeclared identifier is reported only once snd-xen.c:458: error: for each function it appears in.) snd-xen.c: In function 'g_fmod': snd-xen.c:1766: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_j0': snd-xen.c:1775: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_j1': snd-xen.c:1782: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_jn': snd-xen.c:1790: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_y0': snd-xen.c:1797: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_y1': snd-xen.c:1804: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_yn': snd-xen.c:1812: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_erf': snd-xen.c:1819: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_erfc': snd-xen.c:1826: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_lgamma': snd-xen.c:1833: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_i0': snd-xen.c:1841: warning: return makes pointer from integer without a cast snd-xen.c: In function 'g_xen_initialize': snd-xen.c:2516: warning: passing argument 2 of 'gh_define' makes pointer from integer without a cast make: *** [snd-xen.o] Error 1 what's wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Fri May 4 13:46:18 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 4 May 2007 13:46:18 -0700 Subject: [CM] snd compilation problem In-Reply-To: References: Message-ID: <20070504204431.M79097@ccrma.Stanford.EDU> > what's wrong? at least two things, apparently -- the connection to GSL is confused, and there's some problem with the Guile version -- please send me config.log and makefile, and I might be able to see something more specific. From bil at ccrma.Stanford.EDU Fri May 4 15:36:03 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 4 May 2007 15:36:03 -0700 Subject: [CM] snd compilation problem In-Reply-To: References: Message-ID: <20070504223057.M1547@ccrma.Stanford.EDU> Is this a Sun system? I think the guile problem is that I include -lltdl by hand since that's needed on my Suns, (guile's config process doesn't include it), but it messes up on your system -- I guess the first thing would be to remove the line XEN_LIBS="$XEN_LIBS -lltdl" in configure.ac, run autoconf, then re-run configure -- I wonder what the "right thing" is in this case. On the math problem -- I was confused -- it's libm that's unhappy, not libgsl, but it must be a header problem since the configure script finds those functions in libm. Does your math.h need some flag to force it to include j0 and friends? From landspeedrecord at gmail.com Thu May 10 13:22:27 2007 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Thu, 10 May 2007 16:22:27 -0400 Subject: [CM] midiplayer/windows In-Reply-To: <78BCA6B7-7121-4786-8CB2-23B158FE063E@web.de> References: <7761B48F-2D7A-4860-B539-823EA8E4DCE1@web.de> <78BCA6B7-7121-4786-8CB2-23B158FE063E@web.de> Message-ID: No problem! Glad I got to help someone out for a change instead of asking lots of goofy questions. On 5/9/07, Johannes Quint wrote: > > > Am 04.05.2007 um 02:00 schrieb Landspeedrecord: > > (setf *midi-player* "\\\"Program Files\\Windows Media > Player\"\\mplayer2.exe") > > this works, thanks. > > _________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.dehttp://www.johannes-quint.de > From landspeedrecord at gmail.com Thu May 10 13:25:41 2007 From: landspeedrecord at gmail.com (Landspeedrecord) Date: Thu, 10 May 2007 16:25:41 -0400 Subject: [CM] MIDI Player for XP Message-ID: Hey, this is for Windows XP people only! Anyone using a MIDI player that is better than mplayer2.exe or the normal windows media player? I tried getting some other programs to open the file without any luck. For instance a demo version of Live 6 couldn't do it. The problem I suppose is that good sequencers want to import the MIDI files not be forced to play them automatically. From k.s.matheussen at notam02.no Thu May 10 14:10:03 2007 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Thu, 10 May 2007 23:10:03 +0200 (CEST) Subject: [CM] MIDI Player for XP In-Reply-To: References: Message-ID: I think timidity sounds great. It seems to be available for windows as well: http://timidity.sourceforge.net/ http://timidity.s11.xrea.com/index.en.html On Thu, 10 May 2007, Landspeedrecord wrote: > Hey, this is for Windows XP people only! > > Anyone using a MIDI player that is better than mplayer2.exe or the > normal windows media player? > > I tried getting some other programs to open the file without any luck. > For instance a demo version of Live 6 couldn't do it. The problem I > suppose is that good sequencers want to import the MIDI files not be > forced to play them automatically. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From taube at uiuc.edu Thu May 10 14:12:25 2007 From: taube at uiuc.edu (Rick Taube) Date: Thu, 10 May 2007 16:12:25 -0500 Subject: [CM] MIDI Player for XP In-Reply-To: References: Message-ID: <50F8A829-41BE-4943-B57C-182B608B2272@uiuc.edu> the best player ive run accross is timidity, but i dont know if there is a windows port or not. would like to know if its avaiable there, maybe via cygwin? On May 10, 2007, at 3:25 PM, Landspeedrecord wrote: > Hey, this is for Windows XP people only! > > Anyone using a MIDI player that is better than mplayer2.exe or the > normal windows media player? > > I tried getting some other programs to open the file without any luck. > For instance a demo version of Live 6 couldn't do it. The problem I > suppose is that good sequencers want to import the MIDI files not be > forced to play them automatically. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From c.mcclelland at qub.ac.uk Fri May 11 05:56:12 2007 From: c.mcclelland at qub.ac.uk (Christopher McClelland) Date: Fri, 11 May 2007 13:56:12 +0100 Subject: [CM] Lectureship @ SARC Message-ID: <419D6676-7654-43C5-B41B-4B7124C2F91C@qub.ac.uk> Apologies for cross-posting Lectureship in Computer Programming for Musical Applications Sonic Arts Research Centre School of Music and Sonic Arts Queen's University Belfast Ref: 07/K670B Required to commence as soon as possible, to undertake high quality research in line with the School's research strategy, and to teach at undergraduate and postgraduate level. Criteria will be given in the applicant pack. Informal enquiries may be made to Mr. Chris Corrigan, tel: (028) 90974830 or email: c.corrigan at qub.ac.uk Closing date: 4.00pm, Friday 25 May 2007 The University is committed to equal opportunity and selection on merit. It therefore welcomes applications from all sections of society. Applications should be addressed to the Personnel Manager, The Personnel Department, Queen's University Belfast, Northern Ireland, BT7 1NN. Tel: 028 90973044, Fax. 028 90971040, e-mail personnel at qub.ac.uk, www.qub.ac.uk/pers http://www.qub.ac.uk/jobs/?vac_no=K670&function=view_job ........................................................................ ... Christopher McClelland Sonic Arts Research Centre Queens University Belfast BT7 1NN Tel: 02890974445 Email: c.mcclelland at qub.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From lb at zkm.de Fri May 11 05:59:53 2007 From: lb at zkm.de (Ludger Bruemmer) Date: Fri, 11 May 2007 14:59:53 +0200 Subject: [CM] CLM Error regarding Shared Object loading Message-ID: Hi CMdisters While loading compiled instruments into clm (using the CM2.10 or CM. 29 image) the system causes an error. This happens on Intel/Sbcl as well as on PPC/Openmcl Has anyone an idea how to solve that problem? thanks for any help Ludger Br?mmer here the error message: Error opening shared object "/Users/ludil/Desktop/downloads/clm-3/ clm_FM_VIOLIN.so": dlopen(3) failed. [Condition of type SIMPLE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :FILE "/Users/ ludil/Desktop/downloads/clm-3/clm_FM_VIOLIN.so" :SAP NIL)) 1: (SB-ALIEN:LOAD-SHARED-OBJECT "/Users/ludil/Desktop/downloads/ clm-3/clm_FM_VIOLIN.so") 2: (SB-FASL::LOAD-FASL-GROUP #) 3: (SB-FASL::LOAD-AS-FASL # NIL #) 4: (SB-FASL::INTERNAL-LOAD #P"/Users/ludil/Desktop/downloads/clm-3/ v.fasl" #P"/Users/ludil/Desktop/downloads/clm-3/v.fasl" :ERROR NIL NIL :BINARY NIL) 5: (SB-FASL::INTERNAL-LOAD #P"/Users/ludil/Desktop/downloads/clm-3/ v.fasl" #P"/Users/ludil/Desktop/downloads/clm-3/v.fasl" :ERROR NIL NIL NIL :DEFAULT) 6: (LOAD "/Users/ludil/Desktop/downloads/clm-3/v.fasl") 7: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD "/Users/ludil/Desktop/ downloads/clm-3/v.fasl") #) 8: (SWANK::EVAL-REGION "(load \"/Users/ludil/Desktop/downloads/clm-3/v.fasl\") " T) 9: ((LAMBDA ())) 10: ((LAMBDA (SWANK-BACKEND::FN)) #) 11: (SWANK::CALL-WITH-BUFFER-SYNTAX #) 12: (SWANK:LISTENER-EVAL "(load \"/Users/ludil/Desktop/downloads/clm-3/v.fasl\") ") 13: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(load \"/Users/ludil/Desktop/downloads/ clm-3/v.fasl\") ") #) 14: ((LAMBDA ())) 15: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # #) 16: ((LAMBDA ())) 17: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # #) 18: (SWANK::CALL-WITH-REDIRECTED-IO # #) 19: (SWANK::CALL-WITH-CONNECTION # #) 20: (SWANK::HANDLE-REQUEST #) 21: (SWANK::PROCESS-AVAILABLE-INPUT # #) 22: ((FLET SWANK::HANDLER)) 23: ((LAMBDA (SWANK-BACKEND::_)) #) 24: (SB-IMPL::SUB-SERVE-EVENT NIL 0) 25: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) 26: (SB-IMPL::REFILL-BUFFER/FD #) 27: (SB-IMPL::INPUT-CHAR/UTF-8 # NIL #:EOF-OBJECT) 28: (READ-CHAR # NIL #:EOF-OBJECT #) 29: (READ-CHAR # NIL #:EOF-OBJECT #) 30: (READ-PRESERVING-WHITESPACE # NIL (NIL) T) 31: (READ-PRESERVING-WHITESPACE # NIL (NIL) NIL) 32: (READ # NIL (NIL) NIL) 33: (SB-IMPL::REPL-READ-FORM-FUN # #) 34: (SB-IMPL::REPL-FUN NIL) 35: ((LAMBDA ())) 36: ((LAMBDA ())) 37: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #) 38: (SB-IMPL::TOPLEVEL-REPL NIL) 39: (SB-IMPL::TOPLEVEL-INIT) 40: ((LABELS SB-IMPL::RESTART-LISP)) Prof. Ludger Br?mmer Leitung Institut f?r Musik und Akustik Head 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: lb at zkm.de http://www.zkm.de/musik http://www.sumtone.com/lb -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Fri May 11 15:20:33 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 11 May 2007 15:20:33 -0700 Subject: [CM] CLM Error regarding Shared Object loading In-Reply-To: References: Message-ID: <20070511221706.M79877@ccrma.Stanford.EDU> I can't find a way to generate that error, so I'm not sure what to suggest except the usual "start from scratch and do it all again". There's some way to use dlerror to get more info about what went wrong, but I don't know how to use it in this context. Can you run sbcl under strace and see what it reports? (You'll want to do this in an emacs shell subjob). From taube at uiuc.edu Sat May 12 07:55:03 2007 From: taube at uiuc.edu (Rick Taube) Date: Sat, 12 May 2007 09:55:03 -0500 Subject: [CM] CLM Error regarding Shared Object loading In-Reply-To: References: Message-ID: hi ludi, if you are using a saved cm.app , maybe the clibclm.so needs to be copied to cm.app's lib directory? cd /applications/cm.app/contents/resources/clm-3/ cp libclm.so ../lib On May 11, 2007, at 7:59 AM, Ludger Bruemmer wrote: > Hi CMdisters > > While loading compiled instruments into clm (using the CM2.10 or > CM.29 image) the system causes an error. This happens on Intel/Sbcl > as well as on PPC/Openmcl > Has anyone an idea how to solve that problem? > > thanks for any help > > Ludger Br?mmer > > > > here the error message: > > > Error opening shared object "/Users/ludil/Desktop/downloads/clm-3/ > clm_FM_VIOLIN.so": > dlopen(3) failed. > [Condition of type SIMPLE-ERROR] > > Restarts: > 0: [ABORT-REQUEST] Abort handling SLIME request. > 1: [ABORT] Exit debugger, returning to top level. > > Backtrace: > 0: (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :FILE "/ > Users/ludil/Desktop/downloads/clm-3/clm_FM_VIOLIN.so" :SAP NIL)) > 1: (SB-ALIEN:LOAD-SHARED-OBJECT "/Users/ludil/Desktop/downloads/ > clm-3/clm_FM_VIOLIN.so") > 2: (SB-FASL::LOAD-FASL-GROUP # ludil/Desktop/downloads/clm-3/v.fasl" {128AA309}>) > 3: (SB-FASL::LOAD-AS-FASL # ludil/Desktop/downloads/clm-3/v.fasl" {128AA309}> NIL # argument>) > 4: (SB-FASL::INTERNAL-LOAD #P"/Users/ludil/Desktop/downloads/ > clm-3/v.fasl" #P"/Users/ludil/Desktop/downloads/clm-3/ > v.fasl" :ERROR NIL NIL :BINARY NIL) > 5: (SB-FASL::INTERNAL-LOAD #P"/Users/ludil/Desktop/downloads/ > clm-3/v.fasl" #P"/Users/ludil/Desktop/downloads/clm-3/ > v.fasl" :ERROR NIL NIL NIL :DEFAULT) > 6: (LOAD "/Users/ludil/Desktop/downloads/clm-3/v.fasl") > 7: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD "/Users/ludil/Desktop/ > downloads/clm-3/v.fasl") #) > 8: (SWANK::EVAL-REGION > "(load \"/Users/ludil/Desktop/downloads/clm-3/v.fasl\") > " > T) > 9: ((LAMBDA ())) > 10: ((LAMBDA (SWANK-BACKEND::FN)) #) > 11: (SWANK::CALL-WITH-BUFFER-SYNTAX #) > 12: (SWANK:LISTENER-EVAL > "(load \"/Users/ludil/Desktop/downloads/clm-3/v.fasl\") > ") > 13: (SB-INT:SIMPLE-EVAL-IN-LEXENV > (SWANK:LISTENER-EVAL "(load \"/Users/ludil/Desktop/downloads/ > clm-3/v.fasl\") > ") > #) > 14: ((LAMBDA ())) > 15: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # SWANK:SWANK-DEBUGGER-HOOK> #) > 16: ((LAMBDA ())) > 17: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # SWANK:SWANK-DEBUGGER-HOOK> #) > 18: (SWANK::CALL-WITH-REDIRECTED-IO # > #) > 19: (SWANK::CALL-WITH-CONNECTION # > #) > 20: (SWANK::HANDLE-REQUEST #) > 21: (SWANK::PROCESS-AVAILABLE-INPUT # constant string" {116864B9}> #) > 22: ((FLET SWANK::HANDLER)) > 23: ((LAMBDA (SWANK-BACKEND::_)) #) > 24: (SB-IMPL::SUB-SERVE-EVENT NIL 0) > 25: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) > 26: (SB-IMPL::REFILL-BUFFER/FD # input" {115D8709}>) > 27: (SB-IMPL::INPUT-CHAR/UTF-8 # input" {115D8709}> NIL #:EOF-OBJECT) > 28: (READ-CHAR # > NIL #:EOF-OBJECT #) > 29: (READ-CHAR # > NIL #:EOF-OBJECT #) > 30: (READ-PRESERVING-WHITESPACE # SYS:*STDIN* {100CADA1}> NIL (NIL) T) > 31: (READ-PRESERVING-WHITESPACE # SYS:*STDIN* {100CADA1}> NIL (NIL) NIL) > 32: (READ # NIL > (NIL) NIL) > 33: (SB-IMPL::REPL-READ-FORM-FUN # SYS:*STDIN* {100CADA1}> # {10123229}>) > 34: (SB-IMPL::REPL-FUN NIL) > 35: ((LAMBDA ())) > 36: ((LAMBDA ())) > 37: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX # {121CF965}>) > 38: (SB-IMPL::TOPLEVEL-REPL NIL) > 39: (SB-IMPL::TOPLEVEL-INIT) > 40: ((LABELS SB-IMPL::RESTART-LISP)) > > > > > > Prof. Ludger Br?mmer > > Leitung Institut f?r Musik und Akustik > Head 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: lb at zkm.de http://www.zkm.de/musik http://www.sumtone.com/lb > > From johannes.quint at web.de Sun May 13 09:10:46 2007 From: johannes.quint at web.de (Johannes Quint) Date: Sun, 13 May 2007 18:10:46 +0200 Subject: [CM] sc-objects, duration Message-ID: <4E46F1E7-84BC-4A61-A9B7-816EC3CAD552@web.de> when i try to create some sc-objects, i never get longer sounds. i.e. with sc-object 'simple': (events (new simple :time 0 :freq 300 :dur 100) "Desktop/test.osc") stopps after ~ 5 secs. of course, the same in supercollider works without problems. any help? thanks, johannes _________________________ Johannes Quint Rilkestr.55 D-53225 Bonn 0228 468256 johannes.quint at web.de http://www.johannes-quint.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannes.quint at web.de Sun May 13 09:15:12 2007 From: johannes.quint at web.de (Johannes Quint) Date: Sun, 13 May 2007 18:15:12 +0200 Subject: [CM] sc-objects, duration In-Reply-To: <4E46F1E7-84BC-4A61-A9B7-816EC3CAD552@web.de> References: <4E46F1E7-84BC-4A61-A9B7-816EC3CAD552@web.de> Message-ID: <82E69CB8-88D8-46E4-BECB-A975D0BD522A@web.de> (events (new simple :time 0 :freq 300 :dur 100) "Desktop/ test.osc" :pad 100) ... sorry > when i try to create some sc-objects, i never get longer sounds. > i.e. with sc-object 'simple': > > (events (new simple :time 0 :freq 300 :dur 100) "Desktop/test.osc") > > stopps after ~ 5 secs. > of course, the same in supercollider works without problems. > any help? thanks, johannes From testcase at asu.edu Sun May 13 09:25:18 2007 From: testcase at asu.edu (todd ingalls) Date: Sun, 13 May 2007 09:25:18 -0700 Subject: [CM] sc-objects, duration In-Reply-To: <4E46F1E7-84BC-4A61-A9B7-816EC3CAD552@web.de> References: <4E46F1E7-84BC-4A61-A9B7-816EC3CAD552@web.de> Message-ID: <1EF8F74C-F3B7-47BE-8435-1BD5E166B13E@asu.edu> supercollider will stop rendering after the last event in the score. when writing out the score from cm a dummy event is written 5 seconds after the last event. this is settable with the pad keyword . so the following should work. (events (new simple :time 0 :freq 300 :dur 100) "Desktop/ test.osc" :pad 100) as far as i know this is the only way to get around this problem. On May 13, 2007, at 9:10 AM, Johannes Quint wrote: > when i try to create some sc-objects, i never get longer sounds. > i.e. with sc-object 'simple': > > (events (new simple :time 0 :freq 300 :dur 100) "Desktop/test.osc") > > stopps after ~ 5 secs. > of course, the same in supercollider works without problems. > any help? thanks, johannes > _________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.de > http://www.johannes-quint.de > From joshp at u.washington.edu Sun May 13 16:02:20 2007 From: joshp at u.washington.edu (Joshua Parmenter) Date: Sun, 13 May 2007 16:02:20 -0700 Subject: [CM] sc-objects In-Reply-To: <20070513190004.28895.4124.Mailman@cm-mail.stanford.edu> References: <20070513190004.28895.4124.Mailman@cm-mail.stanford.edu> Message-ID: <83E92743-A3E4-4EEB-B502-7D4288AFEF00@u.washington.edu> I have a couple of vars and functions I have in my cminit file to do this for me: (defparameter *pad* 0) (defparameter *lasttime* 0) ;; and this will calculate pad times (defun padcalc (time dur) (progn (if (> (+ time dur) (+ *lasttime* *pad*)) (progn (if (> time *lasttime*) (setf *lasttime* time)) (setf *pad* (+ dur (- time *lasttime*))) )) (if (> time *lasttime*) (progn (setf *pad* (- *pad* (- time *lasttime*))) (setf *lasttime* time))) ) nil) whenever I create an sc-object, I run padcalc with the events starttime and duration. Then, use *pad* as the pad argument in events. Hope that helps Josh On May 13, 2007, at 12:00 PM, cmdist-request at ccrma.Stanford.EDU wrote: > Send Cmdist mailing list submissions to > cmdist at ccrma.stanford.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > or, via email, send a message with subject or body 'help' to > cmdist-request at ccrma.stanford.edu > > You can reach the person managing the list at > cmdist-admin at ccrma.stanford.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cmdist digest..." > > > Today's Topics: > > 1. sc-objects, duration (Johannes Quint) > 2. Re: sc-objects, duration (Johannes Quint) > 3. Re: sc-objects, duration (todd ingalls) > > --__--__-- > > Message: 1 > To: cmdist at ccrma.Stanford.EDU > From: Johannes Quint > Date: Sun, 13 May 2007 18:10:46 +0200 > Subject: [CM] sc-objects, duration > > > --Apple-Mail-1-1049466984 > Content-Transfer-Encoding: 7bit > Content-Type: text/plain; > charset=US-ASCII; > format=flowed > > when i try to create some sc-objects, i never get longer sounds. > i.e. with sc-object 'simple': > > (events (new simple :time 0 :freq 300 :dur 100) "Desktop/test.osc") > > stopps after ~ 5 secs. > of course, the same in supercollider works without problems. > any help? thanks, johannes > _________________________ > > Johannes Quint > Rilkestr.55 > D-53225 Bonn > 0228 468256 > johannes.quint at web.de > http://www.johannes-quint.de > > > --Apple-Mail-1-1049466984 > Content-Transfer-Encoding: quoted-printable > Content-Type: text/html; > charset=ISO-8859-1 > > -khtml-line-break: after-white-space; ">when i try to create some = > sc-objects, i never get longer sounds.
i.e. with sc-object = > 'simple':

class=3D"khtml-block-placeholder">
(events (new > simple :time 0 = > :freq 300 :dur 100) "Desktop/test.osc")=A0

class=3D"khtml-block-placeholder">
stopps after ~ 5 = > secs.
of course, the same in supercollider works without = > problems.
any help? thanks, johannes
class=3D"Apple-style-span" style=3D"border-collapse: separate; = > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial > Narrow; = > font-size: 18px; font-style: normal; font-variant: normal; font- > weight: = > normal; letter-spacing: normal; line-height: normal; text-align: > auto; = > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; = > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial; = > font-size: 11px; font-style: normal; font-variant: normal; font- > weight: = > normal; letter-spacing: normal; line-height: normal; text-align: > auto; = > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; = > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial; = > font-size: 11px; font-style: normal; font-variant: normal; font- > weight: = > normal; letter-spacing: normal; line-height: normal; text-align: > auto; = > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; = > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial; = > font-size: 11px; font-style: normal; font-variant: normal; font- > weight: = > normal; letter-spacing: normal; line-height: normal; text-align: > auto; = > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; = > border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: > Helvetica; = > font-size: 12px; font-style: normal; font-variant: normal; font- > weight: = > normal; letter-spacing: normal; line-height: normal; text-align: > auto; = > -khtml-text-decorations-in-effect: none; text-indent: 0px; = > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = > white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; "> Helvetica; font-size: 12px; "> style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; ">_________________________ DIV>
style=3D"font-family: Helvetica; font-size: 12px; ">
font-family: Times New Roman; font-style: italic; ; font-size: 11px; = > ">
"> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; "> Helvetica; font-size: 12px; "> style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; ">Johannes Quint
style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; "> Helvetica; font-size: 12px; "> style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; ">Rilkestr.55
style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; "> Helvetica; font-size: 12px; "> style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; ">D-53225 Bonn
style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; "> Helvetica; font-size: 12px; "> style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; ">0228 468256
style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; "> Helvetica; font-size: 12px; "> style=3D"font-family: Helvetica; font-size: 12px; "> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; ">johannes.quint@ href=3D"http://web.de">web.de DIV> class=3D"Apple-style-span" style=3D"font-family: Helvetica; font- > size: = > 12px; "> Helvetica; font-size: 12px; "> style=3D"font-family: Helvetica; font-size: 12px; "> href=3D"http://www.johannes-quint.de">http://www.johannes-quint.de A> AN> = >

= > > --Apple-Mail-1-1049466984-- > > > --__--__-- > > Message: 2 > From: Johannes Quint > Subject: Re: [CM] sc-objects, duration > Date: Sun, 13 May 2007 18:15:12 +0200 > To: cmdist at ccrma.Stanford.EDU > > (events (new simple :time 0 :freq 300 :dur 100) "Desktop/ > test.osc" :pad 100) > > ... sorry > >> when i try to create some sc-objects, i never get longer sounds. >> i.e. with sc-object 'simple': >> >> (events (new simple :time 0 :freq 300 :dur 100) "Desktop/test.osc") >> >> stopps after ~ 5 secs. >> of course, the same in supercollider works without problems. >> any help? thanks, johannes > > > --__--__-- > > Message: 3 > Cc: Johannes Quint > From: todd ingalls > Subject: Re: [CM] sc-objects, duration > Date: Sun, 13 May 2007 09:25:18 -0700 > To: Common Muisc List > > supercollider will stop rendering after the last event in the score. > when writing out the score from cm > a dummy event is written 5 seconds after the last event. this is > settable with the pad keyword . so the following should work. > > (events (new simple :time 0 :freq 300 :dur 100) "Desktop/ > test.osc" :pad 100) > > as far as i know this is the only way to get around this problem. > > > > > On May 13, 2007, at 9:10 AM, Johannes Quint wrote: > >> when i try to create some sc-objects, i never get longer sounds. >> i.e. with sc-object 'simple': >> >> (events (new simple :time 0 :freq 300 :dur 100) "Desktop/test.osc") >> >> stopps after ~ 5 secs. >> of course, the same in supercollider works without problems. >> any help? thanks, johannes >> _________________________ >> >> Johannes Quint >> Rilkestr.55 >> D-53225 Bonn >> 0228 468256 >> johannes.quint at web.de >> http://www.johannes-quint.de >> > > > > --__--__-- > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > End of Cmdist Digest ****************************************** Joshua Parmenter University of Washington Center for Digital Arts and Experimental Media School of Music Seattle, Washington 98195 http://www.realizedsound.net/josh/ http://www.dxarts.washington.edu From edeleflie at gmail.com Sun May 13 23:14:22 2007 From: edeleflie at gmail.com (e deleflie) Date: Mon, 14 May 2007 16:14:22 +1000 Subject: [CM] processing multi-channel Ladspa effects in SND Message-ID: <9a471d320705132314q25d1cd11uef387d9b431137ca@mail.gmail.com> Hi all, Please excuse my extreme green newbie status and subsequent question ... I'm looking for a scripting environement to run LADSPA plugins, on multi-channel files. I first looked at ecasound but came across some impasses. ... so now I'm looking at SND as a scripting environment, and the learning curve is steep! I'm pumping a 4 channel Ambisonic file (surround sound format) into a LADSPA plugin and wanting to save the subsequent 4 outputs into mono wave files. (note *.amb files are just wavex files) -------------------------------------------------------- #!/usr/bin/snd -l !# (open-sound "myAmbisonicFile.amb") (apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0 (make-sample-reader 0 0 1) ;chan 1 (make-sample-reader 0 0 2) ;chan 2 (make-sample-reader 0 0 3) ;chan 3) (list "ambis1" "Ambisonics-square-decoder" 0 1 1.44 2 500 2) duration? origin?) (save-sound-as "4_channel_output.wav") -------------------------------------------------------- I want 'duration' to be the whole file ... how do I do that? I also dont understand what 'origin' should be since some examples put a sound file there ... (there's an example on how to write mono files from a multi-channel file, so I should be right with that). Can anyone help me get that code working? Etienne From bil at ccrma.Stanford.EDU Mon May 14 04:18:17 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 14 May 2007 04:18:17 -0700 Subject: [CM] processing multi-channel Ladspa effects in SND In-Reply-To: <9a471d320705132314q25d1cd11uef387d9b431137ca@mail.gmail.com> References: <9a471d320705132314q25d1cd11uef387d9b431137ca@mail.gmail.com> Message-ID: <20070514111756.M42418@ccrma.Stanford.EDU> (mus-sound-frames "myAmbisonic.amb") is the input file duration in samples. The "origin" argument is a kind of comment -- it is used by the edit history stuff to give a name to the edit and so on. I think you can always ignore it, so (apply-ladspa (list...) (mus-sound-frames ...)) might work. From edeleflie at gmail.com Mon May 14 17:24:46 2007 From: edeleflie at gmail.com (e deleflie) Date: Tue, 15 May 2007 10:24:46 +1000 Subject: [CM] processing multi-channel Ladspa effects in SND In-Reply-To: <20070514111756.M42418@ccrma.Stanford.EDU> References: <9a471d320705132314q25d1cd11uef387d9b431137ca@mail.gmail.com> <20070514111756.M42418@ccrma.Stanford.EDU> Message-ID: <9a471d320705141724i72b890fdv7231680ebb3901ab@mail.gmail.com> thanks Bill, I've managed to get other LADSPA plugins to work, but not this one. I suspect thaa the LADSPA plugin I am using can only be run in realtime (can SND execute realtime plugins?) does that sound like a possible reason that SND could not execute a plugin? Etienne On 5/14/07, Bill Schottstaedt wrote: > (mus-sound-frames "myAmbisonic.amb") is the input file duration in samples. > The "origin" argument is a kind of comment -- it is used by the edit > history stuff to give a name to the edit and so on. I think you can > always ignore it, so (apply-ladspa (list...) (mus-sound-frames ...)) > might work. > > > From josepadovani at yahoo.com.br Mon May 14 18:20:29 2007 From: josepadovani at yahoo.com.br (padovani) Date: Mon, 14 May 2007 22:20:29 -0300 Subject: [CM] cm-gtk Message-ID: <46490ADD.4040300@yahoo.com.br> Hi, I'm trying to run CM with cm-gtk. I'm newbie with CM althought I have some "user experience" with lisp based programs like OpenMusic and PWGL... Well I'm running UbuntuStudio 7.04 and when I try to call cm-gtk I get this message: * (use-system :cm-gtk) ; loading system definition from /usr/local/lisp/cm-gtk/cm-gtk.asd into ; # ; Loading #p"/usr/local/lisp/cm-gtk/cm-gtk.asd". ; registering # as CM-GTK ; Python version 1.1, VM version Intel x86 on 14 MAY 07 10:15:14 pm. ; Compiling: /usr/local/lisp/cm-gtk/gtkffi-cmusbcl.lisp 09 DEC 05 02:19:11 pm Error in function (FLET LIBPATH ): Library "/usr/lib/libgtk-x11-2.0.so" not found. Either GTK is not installed or else cl-user:*gtk-libdir* needs to be set to the directory containing GTK on your machine. [Condition of type SIMPLE-ERROR] Restarts: 0: [RETRY ] Retry performing # on #. 1: [ACCEPT] Continue, treating # on # as having been successful. 2: [ABORT ] Return to Top-Level. Debug (type H for help) ((FLET LIBPATH ) "libgtk-x11-2.0") Source: (ERROR "Library ~S not found. Either GTK is not installed or else cl-user:*gtk-libdir* needs to be set to the directory containing GTK on your machine." P) 0] Thanks if anyone can help... J. Padovani From thomaslambert at altern.org Tue May 15 01:33:27 2007 From: thomaslambert at altern.org (Thomas Lambert) Date: Tue, 15 May 2007 10:33:27 +0200 (CEST) Subject: [CM] cm-gtk Message-ID: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> Well i think that the first thing to know is whether you have, somewhere on you system, libgtk-x11-2.0.so I don't know if you have experience in linux so here's the commands: > sudo updatedb > locate libgtk And if you don't have the specified lib just install gtk2 lib via synaptic (with *-dev packages) and start over. ps : did you run OpenMusic in Linux or another system ? Thomas http://www.lame-spirale.net > Hi, I'm trying to run CM with cm-gtk. I'm newbie with CM althought I > have some "user experience" with lisp based programs like OpenMusic and > PWGL... Well I'm running UbuntuStudio 7.04 and when I try to call cm-gtk > I get this message: > > * (use-system :cm-gtk) > > ; loading system definition from /usr/local/lisp/cm-gtk/cm-gtk.asd into > ; # > ; Loading #p"/usr/local/lisp/cm-gtk/cm-gtk.asd". > ; registering # as CM-GTK > > > ; Python version 1.1, VM version Intel x86 on 14 MAY 07 10:15:14 pm. > ; Compiling: /usr/local/lisp/cm-gtk/gtkffi-cmusbcl.lisp 09 DEC 05 > 02:19:11 pm > > > > Error in function (FLET LIBPATH > ): > Library "/usr/lib/libgtk-x11-2.0.so" not found. Either GTK is not > installed or else cl-user:*gtk-libdir* needs to be set to the directory > containing GTK on your machine. > [Condition of type SIMPLE-ERROR] > > Restarts: > 0: [RETRY ] Retry performing # on > #. > 1: [ACCEPT] Continue, treating # on > # as > having been > successful. > 2: [ABORT ] Return to Top-Level. > > Debug (type H for help) > > ((FLET LIBPATH > ) > "libgtk-x11-2.0") > Source: (ERROR > "Library ~S not found. Either GTK is not installed or else > cl-user:*gtk-libdir* needs to be set to the directory containing GTK on > your machine." > P) > 0] > > > Thanks if anyone can help... > J. Padovani > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > !DSPAM:46492e00163481804284693! > > > From bil at ccrma.Stanford.EDU Tue May 15 04:12:03 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 15 May 2007 04:12:03 -0700 Subject: [CM] processing multi-channel Ladspa effects in SND In-Reply-To: <9a471d320705141724i72b890fdv7231680ebb3901ab@mail.gmail.com> References: <9a471d320705132314q25d1cd11uef387d9b431137ca@mail.gmail.com> <20070514111756.M42418@ccrma.Stanford.EDU> <9a471d320705141724i72b890fdv7231680ebb3901ab@mail.gmail.com> Message-ID: <20070515110633.M24224@ccrma.Stanford.EDU> > does that sound like a possible reason that SND could not execute a plugin? No. What error are you getting? Which Ambisonics plugin are you using? Also, I notice in your first message that you are calling it: (apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0 (make-sample-reader 0 0 1) ;chan 1 (make-sample-reader 0 0 2) ;chan 2 (make-sample-reader 0 0 3) ;chan 3) (list "ambis1" "Ambisonics-square-decoder" 0 1 1.44 2 500 2) duration? origin?) but the first argument list close paren is commented out -- the "; chan 3)" comment goes to the end of the line. Could it be that you want: (apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0 (make-sample-reader 0 0 1) ;chan 1 (make-sample-reader 0 0 2) ;chan 2 (make-sample-reader 0 0 3)) ;chan 3 (list "ambis1" "Ambisonics-square-decoder" 0 1 1.44 2 500 2) (frames)) Emacs indentation and paren-matching makes it easier to find this kind of problem. From BBattey at dmu.ac.uk Tue May 15 07:28:33 2007 From: BBattey at dmu.ac.uk (Bret Battey) Date: Tue, 15 May 2007 15:28:33 +0100 Subject: [CM] CLM 3 - rmsenv bugs and clm-print openmcl References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> Message-ID: Greetings, After being out of CM/CLM loop for a while, I'm trying to get my PICACS code (built in CM and CLM) working with CM 2.10 and the CLM3 packaged with that. I've found the my instrument rmsenv.ins (which is also packaged up with CLM3) no longer works. It returns a list of 0.0's regardless of what audio file I throw at it. I'd debug it, but unfortunately it seems that CLM-PRINT is no longer working, at least here under Mac OS 10.4, with the OpenMCL used in CM 2.10. So, is there a solution for clm-print on openMCL, another way I could get debugging data from within the run loop, and/or an obvious identification of what has gone wrong in rmsenv.ins in the move to CLM3? Thanks, -=Bret Battey -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Tue May 15 07:50:44 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 15 May 2007 07:50:44 -0700 Subject: [CM] music notation in Snd Message-ID: <20070515143848.M4244@ccrma.Stanford.EDU> Check out http://ccrma.stanford.edu/software/snd/snd/extsnd.html#mixname I know... nobody writes music notation, or composes note-by-note anymore. (The notes can be dragged to change onset time, and I'll add a vertical drag to change pitch, notes can be grouped in arbitrary ways for things like transposition, global amplitude envelopes, tempo changes, etc, and all the edits are "virtual" -- no data is touched (well, almost) or written to disk -- you're editing a representation of the piece at any level from the sample to the whole thing, and all done almost instantaneously, so the mouse actually drags smoothly etc. I even tried "fridge" with 500 notes, and didn't feel it slowing down). The tune is from the kaiser waltz. From josepadovani at yahoo.com.br Tue May 15 08:07:05 2007 From: josepadovani at yahoo.com.br (padovani) Date: Tue, 15 May 2007 12:07:05 -0300 Subject: [CM] cm-gtk In-Reply-To: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> Message-ID: <4649CC99.7050000@yahoo.com.br> Ok, evrything running... I thought I had the package but it was not the *-dev one... Now I'm trying to learn the whole thing. I have OpenMusic on Windows... Ircam's promise of an Open Source OpenMusic seems to never come true. Didn't tried to use with Wine yet... In windows there is this PWGL that is a freeware successor of PW an works very fine... it runs in OSX too but not in linux.. :( Is there a visual interface for CM? I thought cm-gtk was that... By visual interface I mean something like a "patch" interface.... (like Puredata uses althought the patches are text files...) Thanks for the help. J. Padovani Thomas Lambert wrote: > Well i think that the first thing to know is whether you have, somewhere > on you system, libgtk-x11-2.0.so > I don't know if you have experience in linux so here's the commands: > > >> sudo updatedb >> locate libgtk >> > > And if you don't have the specified lib just install gtk2 lib via synaptic > (with *-dev packages) and start over. > > ps : did you run OpenMusic in Linux or another system ? > > Thomas > http://www.lame-spirale.net > > > >> Hi, I'm trying to run CM with cm-gtk. I'm newbie with CM althought I >> have some "user experience" with lisp based programs like OpenMusic and >> PWGL... Well I'm running UbuntuStudio 7.04 and when I try to call cm-gtk >> I get this message: >> >> * (use-system :cm-gtk) >> >> ; loading system definition from /usr/local/lisp/cm-gtk/cm-gtk.asd into >> ; # >> ; Loading #p"/usr/local/lisp/cm-gtk/cm-gtk.asd". >> ; registering # as CM-GTK >> >> >> ; Python version 1.1, VM version Intel x86 on 14 MAY 07 10:15:14 pm. >> ; Compiling: /usr/local/lisp/cm-gtk/gtkffi-cmusbcl.lisp 09 DEC 05 >> 02:19:11 pm >> >> >> >> Error in function (FLET LIBPATH >> ): >> Library "/usr/lib/libgtk-x11-2.0.so" not found. Either GTK is not >> installed or else cl-user:*gtk-libdir* needs to be set to the directory >> containing GTK on your machine. >> [Condition of type SIMPLE-ERROR] >> >> Restarts: >> 0: [RETRY ] Retry performing # on >> #. >> 1: [ACCEPT] Continue, treating # on >> # as >> having been >> successful. >> 2: [ABORT ] Return to Top-Level. >> >> Debug (type H for help) >> >> ((FLET LIBPATH >> ) >> "libgtk-x11-2.0") >> Source: (ERROR >> "Library ~S not found. Either GTK is not installed or else >> cl-user:*gtk-libdir* needs to be set to the directory containing GTK on >> your machine." >> P) >> 0] >> >> >> Thanks if anyone can help... >> J. Padovani >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> !DSPAM:46492e00163481804284693! >> >> >> >> > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From taube at uiuc.edu Tue May 15 08:26:02 2007 From: taube at uiuc.edu (Rick Taube) Date: Tue, 15 May 2007 10:26:02 -0500 Subject: [CM] cm-gtk In-Reply-To: <4649CC99.7050000@yahoo.com.br> References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> <4649CC99.7050000@yahoo.com.br> Message-ID: i cant say much right now other than we are in the process of moving CM to a JUCE and C++ environment with of course Lisp still there in one form or antoher. at that point graphics will be the main thing. however im not much of a believer in parse trees err...patches... for expressing algorithms but its probably a religion. if you dont hate words you can learn SAL in about 5 minutes, that lets you do 95% of what you can do in cm+lisp: http://camilx2.music.uiuc.edu:16080/classes/404A/ i may add boxes for banging patterns etc but not for a while. > Is there a visual interface for CM? I thought cm-gtk was that... By > visual interface I mean something like a "patch" interface.... > (like Puredata uses althought the patches are text files...) > Thanks for the help. > J. Padovani From johannes.quint at web.de Tue May 15 09:55:35 2007 From: johannes.quint at web.de (Johannes Quint) Date: Tue, 15 May 2007 18:55:35 +0200 Subject: [CM] sal-course, -examples In-Reply-To: References: <2D1DA163-BBE5-40C2-A9A7-FE36C1ACE343@web.de> Message-ID: <2345CA69-3EEC-40C8-A1C7-F69DB870E6AF@web.de> yes, i've changed it to: http://www.johannes-quint.de/cm/kurs.html Am 15.05.2007 um 17:31 schrieb Rick Taube: > johannes - this link doesnt seem to work any more! > > On Apr 25, 2007, at 5:54 PM, Johannes Quint wrote: > >> for those, who are interested: >> i've begun to write an introduction in sal >> [in german] for my students in frankfurt. >> this is more or less a translation of ricks >> course, but i've added some new examples >> (two studies of nancorrow, tom johnsons >> chordcatalogue etc.) >> >> http://www.johannes-quint.de/cm/html/kurs.html From bil at ccrma.Stanford.EDU Tue May 15 10:09:31 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 15 May 2007 10:09:31 -0700 Subject: [CM] CLM 3 - rmsenv bugs and clm-print openmcl In-Reply-To: References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> Message-ID: <20070515170839.M66543@ccrma.Stanford.EDU> > It returns a list of 0.0's regardless of what audio file I throw at it. It works for me in ACL 8.1 in both Linux and OSX -- I don't have openmcl -- does it work on an Intel Mac yet? From thomaslambert at altern.org Tue May 15 12:36:13 2007 From: thomaslambert at altern.org (Thomas Lambert) Date: Tue, 15 May 2007 21:36:13 +0200 (CEST) Subject: [CM] cm-gtk In-Reply-To: <4649CC99.7050000@yahoo.com.br> References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> <4649CC99.7050000@yahoo.com.br> Message-ID: <3233.195.132.182.122.1179257773.squirrel@www.altern.org> No such interface exists for Common Music and i like it that way. I never tried OpenMusic whose interface seems quite clear but using lisp is very powerful and modular and the code is readable. The drawback is of course to have to learn lisp. I think that a simpler language is provided with CommonMusic : Sal. You could check that out. Good luck! Thomas http://www.lame-spirale.net > Ok, evrything running... I thought I had the package but it was not the > *-dev one... Now I'm trying to learn the whole thing. > I have OpenMusic on Windows... Ircam's promise of an Open Source > OpenMusic seems to never come true. Didn't tried to use with Wine yet... > In windows there is this PWGL that is a freeware successor of PW an > works very fine... it runs in OSX too but not in linux.. :( > Is there a visual interface for CM? I thought cm-gtk was that... By > visual interface I mean something like a "patch" interface.... (like > Puredata uses althought the patches are text files...) > Thanks for the help. > J. Padovani > > Thomas Lambert wrote: >> Well i think that the first thing to know is whether you have, somewhere >> on you system, libgtk-x11-2.0.so >> I don't know if you have experience in linux so here's the commands: >> >> >>> sudo updatedb >>> locate libgtk >>> >> >> And if you don't have the specified lib just install gtk2 lib via >> synaptic >> (with *-dev packages) and start over. >> >> ps : did you run OpenMusic in Linux or another system ? >> >> Thomas >> http://www.lame-spirale.net >> >> >> >>> Hi, I'm trying to run CM with cm-gtk. I'm newbie with CM althought I >>> have some "user experience" with lisp based programs like OpenMusic and >>> PWGL... Well I'm running UbuntuStudio 7.04 and when I try to call >>> cm-gtk >>> I get this message: >>> >>> * (use-system :cm-gtk) >>> >>> ; loading system definition from /usr/local/lisp/cm-gtk/cm-gtk.asd into >>> ; # >>> ; Loading #p"/usr/local/lisp/cm-gtk/cm-gtk.asd". >>> ; registering # as CM-GTK >>> >>> >>> ; Python version 1.1, VM version Intel x86 on 14 MAY 07 10:15:14 pm. >>> ; Compiling: /usr/local/lisp/cm-gtk/gtkffi-cmusbcl.lisp 09 DEC 05 >>> 02:19:11 pm >>> >>> >>> >>> Error in function (FLET LIBPATH >>> ): >>> Library "/usr/lib/libgtk-x11-2.0.so" not found. Either GTK is not >>> installed or else cl-user:*gtk-libdir* needs to be set to the directory >>> containing GTK on your machine. >>> [Condition of type SIMPLE-ERROR] >>> >>> Restarts: >>> 0: [RETRY ] Retry performing # on >>> #. >>> 1: [ACCEPT] Continue, treating # on >>> # as >>> having been >>> successful. >>> 2: [ABORT ] Return to Top-Level. >>> >>> Debug (type H for help) >>> >>> ((FLET LIBPATH >>> ) >>> "libgtk-x11-2.0") >>> Source: (ERROR >>> "Library ~S not found. Either GTK is not installed or else >>> cl-user:*gtk-libdir* needs to be set to the directory containing GTK on >>> your machine." >>> P) >>> 0] >>> >>> >>> Thanks if anyone can help... >>> J. Padovani >>> >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>> >>> >>> >>> >>> >>> >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > !DSPAM:4649f53f172461804284693! > > > From juanig at ccrma.Stanford.EDU Tue May 15 11:40:29 2007 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Tue, 15 May 2007 14:40:29 -0400 Subject: [CM] music notation in Snd In-Reply-To: <20070515143848.M4244@ccrma.Stanford.EDU> References: <20070515143848.M4244@ccrma.Stanford.EDU> Message-ID: <1179254429.4882.8.camel@strawberry> Wow! looks and seems great Bill. > > http://ccrma.stanford.edu/software/snd/snd/extsnd.html#mixname > > I know... nobody writes music notation, or composes note-by-note anymore. > Of course an interface like this makes one wonder for more possibilities. Transposition is just a starting point. --* Juan Reyes From juanig at ccrma.Stanford.EDU Tue May 15 11:40:29 2007 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Tue, 15 May 2007 14:40:29 -0400 Subject: [CM] music notation in Snd In-Reply-To: <20070515143848.M4244@ccrma.Stanford.EDU> References: <20070515143848.M4244@ccrma.Stanford.EDU> Message-ID: <1179254429.4882.8.camel@strawberry> Wow! looks and seems great Bill. > > http://ccrma.stanford.edu/software/snd/snd/extsnd.html#mixname > > I know... nobody writes music notation, or composes note-by-note anymore. > Of course an interface like this makes one wonder for more possibilities. Transposition is just a starting point. --* Juan Reyes From peimankhosravi at gmail.com Tue May 15 12:32:07 2007 From: peimankhosravi at gmail.com (peiman khosravi) Date: Tue, 15 May 2007 20:32:07 +0100 Subject: [CM] installing and runing clm on osx Message-ID: <98dd611a0705151232u634dc30au9d94cfb8f63e7cce@mail.gmail.com> Hello everyone, I am completely new to clm and lisp (although I have used openmusic before) so please forgive the newbie question. I am on osx 10.4.9 powerbook ppc. I have already installed openmcl and I can run it from the terminal with no problems. However I cannot manage to build and install clm using all.lisp. Where I load all.lisp it all seems to go according to plan but afterwards I am unable to run any of the examples that come with the clm package. I believe I have all the xcode packages installed but is there a way to check this as I don't want to reinstall xcodes unneccesarily if I already have everything. Maybe I am doing something wrong when trying to run clm: do I start openmcl and run clm from there? How is openmcl supposed to find clm? Is there a way to check if clm is installed on my system? Sorry for all these questions. I would very much appreciate any suggestions. Many Thanks Peiman From taube at uiuc.edu Tue May 15 13:40:02 2007 From: taube at uiuc.edu (Rick Taube) Date: Tue, 15 May 2007 15:40:02 -0500 Subject: [CM] installing and runing clm on osx In-Reply-To: <98dd611a0705151232u634dc30au9d94cfb8f63e7cce@mail.gmail.com> References: <98dd611a0705151232u634dc30au9d94cfb8f63e7cce@mail.gmail.com> Message-ID: here is a trace of me untarring clm, starting openmcl, loading clm and listening to the fm-violin toot. galen:/Lisp hkt$ tar -zxf clm-3.tar.gz galen:/Lisp hkt$ cd clm-3 galen:/Lisp/clm-3 hkt$ openmcl Welcome to OpenMCL Version 1.0-p060223 (DarwinPPC32)! ? (load "all.lisp") ; running cd /Lisp/clm-3/ && ./configure --quiet --with-doubles -- with-float-samples ; Compiling "/Lisp/clm-3/io.c" ; Compiling "/Lisp/clm-3/headers.c" ; Compiling "/Lisp/clm-3/audio.c" ; Compiling "/Lisp/clm-3/sound.c" ; Compiling "/Lisp/clm-3/clm.c" ; Compiling "/Lisp/clm-3/sc.c" ; Compiling "/Lisp/clm-3/cmus.c" ; Creating "/Lisp/clm-3/libclm.dylib" ;;gcc -dynamiclib -o /Lisp/clm-3/libclm.dylib /Lisp/clm-3/headers.o / Lisp/clm-3/audio.o /Lisp/clm-3/io.o /Lisp/clm-3/sound.o /Lisp/clm-3/ clm.o /Lisp/clm-3/cmus.o /Lisp/clm-3/sc.o -L/usr/X11R6/lib -lX11 - lm -lc -framework CoreAudio ; Building sndplay program: "/Lisp/clm-3/sndplay" ;Compiler warnings for "/Lisp/clm-3/ffi.lisp" : ; Unused lexical variable DEV, in SL-DAC-1. ; Unused lexical variable NAME, in SL-DAC-1. ;Compiler warnings for "/Lisp/clm-3/sound.lisp" : ; Unused lexical variable CALLS, in SOUND-LET. ;Compiler warnings for "/Lisp/clm-3/env.lisp" : ; Unused lexical variable XX, in ENVELOPE-REPEAT. ;Compiler warnings for "/Lisp/clm-3/clm-snd.lisp" : ; Unused lexical variable ARGS, in . ; Unused lexical variable FSTR, in . ; Unused lexical variable RESULT, in . #P"/Lisp/clm-3/all.lisp" ? (load (compile-file "v.ins")) ; Writing "/Lisp/clm-3/clm_fm_violin.c" ; Compiling "/Lisp/clm-3/clm_fm_violin.c" #P"/Lisp/clm-3/v.dfsl" ? (with-sound () (fm-violin 0 10 440 .2)) "test.aiff" ? On May 15, 2007, at 2:32 PM, peiman khosravi wrote: > Hello everyone, > > I am completely new to clm and lisp (although I have used openmusic > before) so please forgive the newbie question. > > I am on osx 10.4.9 powerbook ppc. I have already installed openmcl and > I can run it from the terminal with no problems. However I cannot > manage to build and install clm using all.lisp. Where I load all.lisp > it all seems to go according to plan but afterwards I am unable to run > any of the examples that come with the clm package. > > I believe I have all the xcode packages installed but is there a way > to check this as I don't want to reinstall xcodes unneccesarily if I > already have everything. Maybe I am doing something wrong when trying > to run clm: do I start openmcl and run clm from there? How is openmcl > supposed to find clm? Is there a way to check if clm is installed on > my system? > > Sorry for all these questions. I would very much appreciate any > suggestions. > Many Thanks > Peiman > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Tue May 15 15:22:10 2007 From: taube at uiuc.edu (Rick Taube) Date: Tue, 15 May 2007 17:22:10 -0500 Subject: [CM] installing and runing clm on osx In-Reply-To: <98dd611a0705151449v9cf357fr5b833138a5fa34b1@mail.gmail.com> References: <98dd611a0705151232u634dc30au9d94cfb8f63e7cce@mail.gmail.com> <98dd611a0705151449v9cf357fr5b833138a5fa34b1@mail.gmail.com> Message-ID: > Thanks so much, > That worked! Now it's beginning to make sense. So every time I want to > run clm I need to load all.lisp. yes. if you have cm loaded you can do (use-system :clm) (cload "/lisp/v.ins") and so on > Now I'm ready to start learning clm > :) all of the files that end in .ins are instruments that you can edit, compile and load. look in the file clm-3/ins for a list of all the predefined instuments in clm. basically the whole history of synthesis! On May 15, 2007, at 4:49 PM, peiman khosravi wrote: > Thanks so much, > That worked! Now it's beginning to make sense. So every time I want to > run clm I need to load all.lisp. Now I'm ready to start learning clm > :) > > Best > Peiman > > On 15/05/07, Rick Taube wrote: >> here is a trace of me untarring clm, starting openmcl, loading clm >> and listening to the fm-violin toot. >> >> galen:/Lisp hkt$ tar -zxf clm-3.tar.gz >> galen:/Lisp hkt$ cd clm-3 >> galen:/Lisp/clm-3 hkt$ openmcl >> Welcome to OpenMCL Version 1.0-p060223 (DarwinPPC32)! >> >> ? (load "all.lisp") >> ; running cd /Lisp/clm-3/ && ./configure --quiet --with-doubles -- >> with-float-samples >> ; Compiling "/Lisp/clm-3/io.c" >> ; Compiling "/Lisp/clm-3/headers.c" >> ; Compiling "/Lisp/clm-3/audio.c" >> ; Compiling "/Lisp/clm-3/sound.c" >> ; Compiling "/Lisp/clm-3/clm.c" >> ; Compiling "/Lisp/clm-3/sc.c" >> ; Compiling "/Lisp/clm-3/cmus.c" >> ; Creating "/Lisp/clm-3/libclm.dylib" >> ;;gcc -dynamiclib -o /Lisp/clm-3/libclm.dylib /Lisp/clm-3/ >> headers.o / >> Lisp/clm-3/audio.o /Lisp/clm-3/io.o /Lisp/clm-3/sound.o /Lisp/clm-3/ >> clm.o /Lisp/clm-3/cmus.o /Lisp/clm-3/sc.o -L/usr/X11R6/lib -lX11 - >> lm -lc -framework CoreAudio >> ; Building sndplay program: "/Lisp/clm-3/sndplay" >> ;Compiler warnings for "/Lisp/clm-3/ffi.lisp" : >> ; Unused lexical variable DEV, in SL-DAC-1. >> ; Unused lexical variable NAME, in SL-DAC-1. >> ;Compiler warnings for "/Lisp/clm-3/sound.lisp" : >> ; Unused lexical variable CALLS, in SOUND-LET. >> ;Compiler warnings for "/Lisp/clm-3/env.lisp" : >> ; Unused lexical variable XX, in ENVELOPE-REPEAT. >> ;Compiler warnings for "/Lisp/clm-3/clm-snd.lisp" : >> ; Unused lexical variable ARGS, in . >> ; Unused lexical variable FSTR, in . >> ; Unused lexical variable RESULT, in . >> #P"/Lisp/clm-3/all.lisp" >> >> ? (load (compile-file "v.ins")) >> ; Writing "/Lisp/clm-3/clm_fm_violin.c" >> ; Compiling "/Lisp/clm-3/clm_fm_violin.c" >> #P"/Lisp/clm-3/v.dfsl" >> >> ? (with-sound () (fm-violin 0 10 440 .2)) >> "test.aiff" >> ? >> >> On May 15, 2007, at 2:32 PM, peiman khosravi wrote: >> >> > Hello everyone, >> > >> > I am completely new to clm and lisp (although I have used openmusic >> > before) so please forgive the newbie question. >> > >> > I am on osx 10.4.9 powerbook ppc. I have already installed >> openmcl and >> > I can run it from the terminal with no problems. However I cannot >> > manage to build and install clm using all.lisp. Where I load >> all.lisp >> > it all seems to go according to plan but afterwards I am unable >> to run >> > any of the examples that come with the clm package. >> > >> > I believe I have all the xcode packages installed but is there a >> way >> > to check this as I don't want to reinstall xcodes unneccesarily >> if I >> > already have everything. Maybe I am doing something wrong when >> trying >> > to run clm: do I start openmcl and run clm from there? How is >> openmcl >> > supposed to find clm? Is there a way to check if clm is >> installed on >> > my system? >> > >> > Sorry for all these questions. I would very much appreciate any >> > suggestions. >> > Many Thanks >> > Peiman >> > >> > _______________________________________________ >> > Cmdist mailing list >> > Cmdist at ccrma.stanford.edu >> > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> From peimankhosravi at gmail.com Tue May 15 15:41:21 2007 From: peimankhosravi at gmail.com (peiman khosravi) Date: Tue, 15 May 2007 23:41:21 +0100 Subject: [CM] installing snd on os x Message-ID: <98dd611a0705151541m295eafe3xb89ed25e86ea298f@mail.gmail.com> Hello again, I have finally worked out how to load clm on osx thanks to Rick. I thought the next stage is to get snd working on my powerbook (os x 10.4.9 ppc). I have followed all the instructions here and the install seems successful: http://ccrma.stanford.edu/guides/planetccrma/SND_on_OSX.html But when I type snd in the terminal I get this: Error: Can't open display: I would appreciate any comments (I know it must be pailful for you to help a newbie like me! so apologies in advance...) Many thanks Peiman From bil at ccrma.Stanford.EDU Tue May 15 16:13:35 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 15 May 2007 16:13:35 -0700 Subject: [CM] installing snd on os x In-Reply-To: <98dd611a0705151541m295eafe3xb89ed25e86ea298f@mail.gmail.com> References: <98dd611a0705151541m295eafe3xb89ed25e86ea298f@mail.gmail.com> Message-ID: <20070515231141.M24118@ccrma.Stanford.EDU> That error happens if you start Snd in a normal terminal -- it needs to be started in an X11 terminal (hopefully this is a temporary situation). If you start X, it has starts xterm automatically, I think. From edeleflie at gmail.com Wed May 16 03:36:03 2007 From: edeleflie at gmail.com (e deleflie) Date: Wed, 16 May 2007 20:36:03 +1000 Subject: [CM] processing multi-channel Ladspa effects in SND In-Reply-To: <20070515110633.M24224@ccrma.Stanford.EDU> References: <9a471d320705132314q25d1cd11uef387d9b431137ca@mail.gmail.com> <20070514111756.M42418@ccrma.Stanford.EDU> <9a471d320705141724i72b890fdv7231680ebb3901ab@mail.gmail.com> <20070515110633.M24224@ccrma.Stanford.EDU> Message-ID: <9a471d320705160336o681dbed0p264147029f6d1b75@mail.gmail.com> yes, my only mistake was the syntax .... the ladspa plugin is now working very well. Here is the final syntax I am using: (open-sound "WXYZ.amb") (apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0 (make-sample-reader 0 0 1) ;chan 1 (make-sample-reader 0 0 2) ;chan 2 (make-sample-reader 0 0 3)) ;chan 3 (list "ambis1" "Ambisonics-square-decoder" 0 1 1.41 2 500 2) (mus-sound-frames "WXYZ.amb") "ambisonic file") (save-sound-as "4_speaker_decode.wav") (exit) Etienne On 5/15/07, Bill Schottstaedt wrote: > > does that sound like a possible reason that SND could not execute a plugin? > > No. What error are you getting? Which Ambisonics plugin are you using? > Also, I notice in your first message that you are calling it: > > (apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0 > (make-sample-reader 0 0 1) ;chan 1 > (make-sample-reader 0 0 2) ;chan 2 > (make-sample-reader 0 0 3) ;chan 3) > (list "ambis1" "Ambisonics-square-decoder" 0 1 1.44 2 500 2) > duration? origin?) > > but the first argument list close paren is commented out -- the "; chan 3)" comment > goes to the end of the line. Could it be that you want: > > (apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0 > (make-sample-reader 0 0 1) ;chan 1 > (make-sample-reader 0 0 2) ;chan 2 > (make-sample-reader 0 0 3)) ;chan 3 > (list "ambis1" "Ambisonics-square-decoder" 0 1 1.44 2 500 2) > (frames)) > > Emacs indentation and paren-matching makes it easier to find this kind of problem. > > From pat at digitalworlds.ufl.edu Tue May 15 19:16:30 2007 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Tue, 15 May 2007 22:16:30 -0400 Subject: [CM] installing snd on os x References: <98dd611a0705151541m295eafe3xb89ed25e86ea298f@mail.gmail.com> <20070515231141.M24118@ccrma.Stanford.EDU> Message-ID: <75F89B22C317AC4E9577946A73B1DCB7532643@CFA-EXCHANGE01.ad.ufl.edu> on newer versions double clicking it spawned X11 automatically cheers~ pp -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU on behalf of Bill Schottstaedt Sent: Tue 5/15/2007 7:13 PM To: peiman khosravi; cmdist at ccrma.Stanford.EDU Subject: Re: [CM] installing snd on os x That error happens if you start Snd in a normal terminal -- it needs to be started in an X11 terminal (hopefully this is a temporary situation). If you start X, it has starts xterm automatically, I think. _______________________________________________ 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 plutek at infinity.net Wed May 16 09:23:40 2007 From: plutek at infinity.net (plutek at infinity.net) Date: Wed, 16 May 2007 12:23:40 -0400 (EDT) Subject: [CM] snd compile error Message-ID: <20070516162340.5E07FCC974@peterlutek.com> greetings! sorry.... this should really follow up on the thread "snd compilation problem" from earlier this month, but i did not save those messages. i'm also trying to compile on SUSE 10.2 (specifically, the JAD audio distro), and having what appears to be the same problem. here's the compile error: gcc -c -DLOCALE_DIR=\"/usr/local/share/locale\" -DSCRIPTS_DIR=\"/usr/local/share/snd\" -DHAVE_CONFIG_H -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -I. -g -O2 -pthread snd-xen.c snd-xen.c: In function ?snd_catch_scm_error?: snd-xen.c:457: error: ?scm_the_last_stack_fluid? undeclared (first use in this function) snd-xen.c:457: error: (Each undeclared identifier is reported only once snd-xen.c:457: error: for each function it appears in.) snd-xen.c: In function ?g_fmod?: snd-xen.c:1764: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_j0?: snd-xen.c:1773: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_j1?: snd-xen.c:1780: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_jn?: snd-xen.c:1788: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_y0?: snd-xen.c:1795: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_y1?: snd-xen.c:1802: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_yn?: snd-xen.c:1810: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_erf?: snd-xen.c:1817: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_erfc?: snd-xen.c:1824: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_lgamma?: snd-xen.c:1831: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_i0?: snd-xen.c:1839: warning: return makes pointer from integer without a cast snd-xen.c: In function ?g_xen_initialize?: snd-xen.c:2514: warning: passing argument 2 of ?gh_define? makes pointer from integer without a cast make: *** [snd-xen.o] Error 1 there are also a lot of "pointer from integer without a cast" warnings, in various functions, before the error which stops the compile. i'm using the daily tarball. bill, shall i send you my config.log and makefile? (off-list, i assume?) -- .pltk. From plutek at infinity.net Wed May 16 10:24:14 2007 From: plutek at infinity.net (plutek at infinity.net) Date: Wed, 16 May 2007 13:24:14 -0400 (EDT) Subject: [CM] snd compile error In-Reply-To: (unaudio@gmail.com) References: <20070516162340.5E07FCC974@peterlutek.com> Message-ID: <20070516172414.407A0CC974@peterlutek.com> >From: "phundamental unaudio" > >you should check wether libtool-devel package is installed (at least that >was the problem in my case) > thanks, unaudio... libtool solved all the warnings and the error. >On 5/16/07, plutek at infinity.net wrote: >> >> greetings! >> >> sorry.... this should really follow up on the thread "snd compilation >> problem" from earlier this month, but i did not save those messages. >> >> i'm also trying to compile on SUSE 10.2 (specifically, the JAD audio >> distro), and having what appears to be the same problem. here's the compile >> error: >> >> gcc -c -DLOCALE_DIR=\"/usr/local/share/locale\" >> -DSCRIPTS_DIR=\"/usr/local/share/snd\" -DHAVE_CONFIG_H -I/usr/include/cairo >> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/gnome/include/gtk- >> 2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0-I/opt/gnome/include/pango- >> 1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include >> -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 >> -I. -g -O2 -pthread snd-xen.c >> snd-xen.c: In function 'snd_catch_scm_error': >> snd-xen.c:457: error: 'scm_the_last_stack_fluid' undeclared (first use in >> this function) >> snd-xen.c:457: error: (Each undeclared identifier is reported only once >> snd-xen.c:457: error: for each function it appears in.) >> snd-xen.c: In function 'g_fmod': >> snd-xen.c:1764: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_j0': >> snd-xen.c:1773: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_j1': >> snd-xen.c:1780: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_jn': >> snd-xen.c:1788: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_y0': >> snd-xen.c:1795: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_y1': >> snd-xen.c:1802: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_yn': >> snd-xen.c:1810: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_erf': >> snd-xen.c:1817: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_erfc': >> snd-xen.c:1824: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_lgamma': >> snd-xen.c:1831: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_i0': >> snd-xen.c:1839: warning: return makes pointer from integer without a cast >> snd-xen.c: In function 'g_xen_initialize': >> snd-xen.c:2514: warning: passing argument 2 of 'gh_define' makes pointer >> from integer without a cast >> make: *** [snd-xen.o] Error 1 >> >> >> there are also a lot of "pointer from integer without a cast" warnings, in >> various functions, before the error which stops the compile. i'm using the >> daily tarball. >> >> bill, shall i send you my config.log and makefile? (off-list, i assume?) >> >> -- >> .pltk. -- .pltk. From nando at ccrma.Stanford.EDU Thu May 17 11:15:13 2007 From: nando at ccrma.Stanford.EDU (Fernando Lopez-Lezcano) Date: Thu, 17 May 2007 11:15:13 -0700 Subject: [CM] cm-gtk In-Reply-To: <3233.195.132.182.122.1179257773.squirrel@www.altern.org> References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> <4649CC99.7050000@yahoo.com.br> <3233.195.132.182.122.1179257773.squirrel@www.altern.org> Message-ID: <1179425713.8620.8.camel@cmn15.stanford.edu> On Tue, 2007-05-15 at 21:36 +0200, Thomas Lambert wrote: > No such interface exists for Common Music and i like it that way. I never > tried OpenMusic whose interface seems quite clear but using lisp is very > powerful and modular and the code is readable. The drawback is of course > to have to learn lisp. ... :-) No, not a drawback, it's an advantage :-) -- Fernando > I think that a simpler language is provided with CommonMusic : Sal. You > could check that out. > Good luck! > > Thomas > http://www.lame-spirale.net > > > Ok, evrything running... I thought I had the package but it was not the > > *-dev one... Now I'm trying to learn the whole thing. > > I have OpenMusic on Windows... Ircam's promise of an Open Source > > OpenMusic seems to never come true. Didn't tried to use with Wine yet... > > In windows there is this PWGL that is a freeware successor of PW an > > works very fine... it runs in OSX too but not in linux.. :( > > Is there a visual interface for CM? I thought cm-gtk was that... By > > visual interface I mean something like a "patch" interface.... (like > > Puredata uses althought the patches are text files...) > > Thanks for the help. > > J. Padovani > > > > Thomas Lambert wrote: > >> Well i think that the first thing to know is whether you have, somewhere > >> on you system, libgtk-x11-2.0.so > >> I don't know if you have experience in linux so here's the commands: > >> > >> > >>> sudo updatedb > >>> locate libgtk > >>> > >> > >> And if you don't have the specified lib just install gtk2 lib via > >> synaptic > >> (with *-dev packages) and start over. > >> > >> ps : did you run OpenMusic in Linux or another system ? > >> > >> Thomas > >> http://www.lame-spirale.net > >> > >> > >> > >>> Hi, I'm trying to run CM with cm-gtk. I'm newbie with CM althought I > >>> have some "user experience" with lisp based programs like OpenMusic and > >>> PWGL... Well I'm running UbuntuStudio 7.04 and when I try to call > >>> cm-gtk > >>> I get this message: > >>> > >>> * (use-system :cm-gtk) > >>> > >>> ; loading system definition from /usr/local/lisp/cm-gtk/cm-gtk.asd into > >>> ; # > >>> ; Loading #p"/usr/local/lisp/cm-gtk/cm-gtk.asd". > >>> ; registering # as CM-GTK > >>> > >>> > >>> ; Python version 1.1, VM version Intel x86 on 14 MAY 07 10:15:14 pm. > >>> ; Compiling: /usr/local/lisp/cm-gtk/gtkffi-cmusbcl.lisp 09 DEC 05 > >>> 02:19:11 pm > >>> > >>> > >>> > >>> Error in function (FLET LIBPATH > >>> ): > >>> Library "/usr/lib/libgtk-x11-2.0.so" not found. Either GTK is not > >>> installed or else cl-user:*gtk-libdir* needs to be set to the directory > >>> containing GTK on your machine. > >>> [Condition of type SIMPLE-ERROR] > >>> > >>> Restarts: > >>> 0: [RETRY ] Retry performing # on > >>> #. > >>> 1: [ACCEPT] Continue, treating # on > >>> # as > >>> having been > >>> successful. > >>> 2: [ABORT ] Return to Top-Level. > >>> > >>> Debug (type H for help) > >>> > >>> ((FLET LIBPATH > >>> ) > >>> "libgtk-x11-2.0") > >>> Source: (ERROR > >>> "Library ~S not found. Either GTK is not installed or else > >>> cl-user:*gtk-libdir* needs to be set to the directory containing GTK on > >>> your machine." > >>> P) > >>> 0] > >>> > >>> > >>> Thanks if anyone can help... > >>> J. Padovani > >>> > >>> _______________________________________________ > >>> Cmdist mailing list > >>> Cmdist at ccrma.stanford.edu > >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > >>> > >>> > >>> > >>> > >>> > >>> > >> > >> _______________________________________________ > >> Cmdist mailing list > >> Cmdist at ccrma.stanford.edu > >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > >> > >> > > > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > !DSPAM:4649f53f172461804284693! > > > > > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From edeleflie at gmail.com Thu May 17 18:26:09 2007 From: edeleflie at gmail.com (e deleflie) Date: Fri, 18 May 2007 11:26:09 +1000 Subject: [CM] Resampling in SND Message-ID: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> Hi All, I'm trying to get the best possible re-sampling option in SND. I'm mostly resampling from 48kHz to 44.1kHz. I notice from the SND manual that there is: - src-sound (which uses 'warped sinc interpolation') - down-oct (for FFT) I am a relative DSP ignoramus... can anyone advise on the best quality re-sampling option? (CPU and time taken is not an issue). Etienne From bil at ccrma.Stanford.EDU Fri May 18 06:29:16 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 18 May 2007 06:29:16 -0700 Subject: [CM] Resampling in SND In-Reply-To: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> Message-ID: <20070518132341.M98875@ccrma.Stanford.EDU> > can anyone advise on the best quality re-sampling option? src-sound is Snd's resampler; its quality depends to some extent on the sinc-width (this sets the length of the section of sound that is convolved with a sinc function during the conversion). The src speed is directly proportional to this width, so its default in Snd is 10 -- this is about as small as it can be, so you will sometimes hear artifacts -- Perry Cook liked 40 as a default, and I've heard cases where I had to use 100 -- listen to the result and if it sounds fine, you've got the right choice. Look under sinc-width in extsnd.html for a test case. From bil at ccrma.Stanford.EDU Fri May 18 07:46:15 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 18 May 2007 07:46:15 -0700 Subject: [CM] Fw: Increasing frequency without shorten runtime In-Reply-To: <20070518042253.GA6954@solfire> References: <20070518042253.GA6954@solfire> Message-ID: <20070518144603.M16956@ccrma.Stanford.EDU> ---------- Forwarded Message ----------- From: meino.cramer at gmx.de To: cmdist-admin at ccrma.Stanford.EDU Sent: Fri, 18 May 2007 06:22:53 +0200 Subject: Increasing frequency without shorten runtime Hi, if I have a -- for example -- recording of a voice saying a sentence ... is it possible to increase the frequency of this voice (makeing a Donal Duck pitch from a bass... ;) without shorten the runtime/ quicken the speaking ? And how can I achieve such an effect? Is it possible to "tune" the frequence over the recording (variable freq by constant speed) ? Thank you very much in advance for any help! :) Keep snding! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. ------- End of Forwarded Message ------- From bil at ccrma.Stanford.EDU Fri May 18 07:47:26 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 18 May 2007 07:47:26 -0700 Subject: [CM] Fw: Re: Increasing frequency without shorten runtime In-Reply-To: <20070518133147.M184@ccrma.Stanford.EDU> References: <20070518042253.GA6954@solfire> <20070518133147.M184@ccrma.Stanford.EDU> Message-ID: <20070518144622.M58574@ccrma.Stanford.EDU> > is it possible to increase the frequency of this voice (makeing a Donal Duck > pitch from a bass... without shorten the runtime / quicken the speaking ? > And how can I achieve such an effect? Is it possible to "tune" the frequence over > the recording (variable freq by constant speed) ? There are 3 or 4 ways to do this, each of which has problems. I always try the expsrc path first -- it's a combination of sampling rate conversion and granular synthesis. There's another version of this called ssb-am (very cool -- "an Idea that is mine, My Idea!"). Then there are FFT tricks that almost never work (the phase vocoder), or take the age of the universe to compute (dsp.scm has a few of these). Then, there's rubber-sound, which really does never work. I once had a donald duck transform (back in mus10 days), but I thought it was a joke and forgot about it -- now I don't know what I did. From bil at ccrma.Stanford.EDU Fri May 18 07:48:10 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 18 May 2007 07:48:10 -0700 Subject: [CM] Fw: Re: Increasing frequency without shorten runtime In-Reply-To: <20070518142820.M96523@ccrma.Stanford.EDU> References: <20070518042253.GA6954@solfire> <20070518133147.M184@ccrma.Stanford.EDU> <20070518142820.M96523@ccrma.Stanford.EDU> Message-ID: <20070518144757.M67829@ccrma.Stanford.EDU> I've been thinking about that donald-duck-transform -- it was inspired by John Gordon who did a great (though purist might say slightly exaggerated) donald rendition; at that same time, Prof. J Smith (he will stoutly deny this) did a superb Deputy-Dawg; and some AI scientist -- I forget who -- did a passable Snagglepuss -- he was a scientist after all, so we made allowances. From josepadovani at yahoo.com.br Fri May 18 15:13:17 2007 From: josepadovani at yahoo.com.br (padovani) Date: Fri, 18 May 2007 19:13:17 -0300 Subject: [CM] cm-gtk In-Reply-To: References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> <4649CC99.7050000@yahoo.com.br> Message-ID: <464E24FD.2050100@yahoo.com.br> Thanks for the links and answers... I'm studying the "words".. I'm doing my best to become a metalevel-programmer.. ;) From willy.rouaix at gmail.com Sat May 19 03:24:02 2007 From: willy.rouaix at gmail.com (Willy Rouaix) Date: Sat, 19 May 2007 12:24:02 +0200 Subject: [CM] to force breakage Message-ID: <45e9ac900705190324v1c052cb3g39ba6c3f24c56c4@mail.gmail.com> Hello list, How can we force breakage to the next line ?, for instance, if I want just 4 measures pro line, or in order to put a sentence (I'm not sure about this word, it's the line on the top of a couple of measure, for say : play in one time) on a line exactly . How to do that the space between two notes is proportional with durations ? Best regards, Willy -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Sat May 19 04:54:54 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 19 May 2007 04:54:54 -0700 Subject: [CM] to force breakage In-Reply-To: <45e9ac900705190324v1c052cb3g39ba6c3f24c56c4@mail.gmail.com> References: <45e9ac900705190324v1c052cb3g39ba6c3f24c56c4@mail.gmail.com> Message-ID: <20070519115355.M88406@ccrma.Stanford.EDU> In cmn, you can break a line with line-break. There's an example in joe.cmn. pmn.lisp has proportional notation. From willy.rouaix at gmail.com Sat May 19 07:34:15 2007 From: willy.rouaix at gmail.com (Willy Rouaix) Date: Sat, 19 May 2007 16:34:15 +0200 Subject: [CM] to force breakage In-Reply-To: <20070519115355.M88406@ccrma.Stanford.EDU> References: <45e9ac900705190324v1c052cb3g39ba6c3f24c56c4@mail.gmail.com> <20070519115355.M88406@ccrma.Stanford.EDU> Message-ID: <45e9ac900705190734q7cc6be6h4f35989166488355@mail.gmail.com> Hello, Thank's 2007/5/19, Bill Schottstaedt : > > In cmn, you can break a line with line-break. There's an example in > joe.cmn. > pmn.lisp has proportional notation. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBattey at dmu.ac.uk Sun May 20 10:21:18 2007 From: BBattey at dmu.ac.uk (Bret Battey) Date: Sun, 20 May 2007 18:21:18 +0100 Subject: [CM] CLM 3 - rmsenv bugs and clm-print openmcl References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> <20070515170839.M66543@ccrma.Stanford.EDU> Message-ID: Looks to me like OpenMCL is still PPC only. On Rick's suggestion, I tried a fresh OpenMCL install and the latest CLM3. In this case, clm-print does work, so I was able to narrow down the problem. I'm using (make-double-float-array) to create a data collection array that is passed into the run loop. Within the run loop, it appears I am succesfully writing values into and reading values from this array. But after the run loop, running a Print on the array returns an array of D0.0's. So it appears the array contents aren't surviving the exit from the run loop. I tried using (make-array) instead -- same result. Same error is occurring with my other instrument that tries to return an envelope: scentroid and autoc. Any other sneaky ways I might be able to succesfully export data from the run loop? -----Original Message----- From: Bill Schottstaedt [mailto:bil at ccrma.Stanford.EDU] Sent: Tue 5/15/2007 6:09 PM To: Bret Battey; Cmdist at ccrma.Stanford.EDU Subject: Re: [CM] CLM 3 - rmsenv bugs and clm-print openmcl > It returns a list of 0.0's regardless of what audio file I throw at it. It works for me in ACL 8.1 in both Linux and OSX -- I don't have openmcl -- does it work on an Intel Mac yet? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Sun May 20 12:29:58 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 20 May 2007 12:29:58 -0700 Subject: [CM] CLM 3 - rmsenv bugs and clm-print openmcl In-Reply-To: References: <27024.194.2.91.222.1179218007.squirrel@www.altern.org> <20070515170839.M66543@ccrma.Stanford.EDU> Message-ID: <20070520192231.M60557@ccrma.Stanford.EDU> I guess run* doesn't work in openmcl -- there's a pair of ancient comments in the code: ;; this (openmcl instrument linkage) probably needs the -to-c-and-lisp linkages for run* ;; I can't remember now what that ^ comment refers to! This is probably a reference to ccl:with-foreign-double-array-to-c-and-lisp -- apparently in openmcl you need to set up some elaborate linkage in advance, and I never got around to it for run*. From josh at realizedsound.net Sun May 20 14:08:23 2007 From: josh at realizedsound.net (Joshua Parmenter) Date: Sun, 20 May 2007 23:08:23 +0200 Subject: [CM] openmcl status In-Reply-To: <20070520190004.31670.85731.Mailman@cm-mail.stanford.edu> References: <20070520190004.31670.85731.Mailman@cm-mail.stanford.edu> Message-ID: <027BA8F9-1BCC-4403-B567-DF3FA20F522E@u.washington.edu> I checked this week, and there is no official intel openmcl. There WON'T be a 32-bit intel openmcl, but if you feel lucky, you can try out the x86_64bit openmcl for Darwin, available from the clozure ftp (if you have a core2Duo machine). I tried it the other day and it started, but I didn't do any testing beyond (* 2 2). (* 2 2) did return 4... that's a good sign! SBCL seems to work fine across the board on macs. Josh On May 20, 2007, at 9:00 PM, cmdist-request at ccrma.Stanford.EDU wrote: > Send Cmdist mailing list submissions to > cmdist at ccrma.stanford.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > or, via email, send a message with subject or body 'help' to > cmdist-request at ccrma.stanford.edu > > You can reach the person managing the list at > cmdist-admin at ccrma.stanford.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cmdist digest..." > > > Today's Topics: > > 1. RE: CLM 3 - rmsenv bugs and clm-print openmcl (Bret Battey) > > --__--__-- > > Message: 1 > Subject: RE: [CM] CLM 3 - rmsenv bugs and clm-print openmcl > Date: Sun, 20 May 2007 18:21:18 +0100 > From: "Bret Battey" > To: "Bill Schottstaedt" , > > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C79B03.46F32122 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Looks to me like OpenMCL is still PPC only. > > On Rick's suggestion, I tried a fresh OpenMCL install and the latest = > CLM3. In this case, clm-print does work, so I was able to narrow > down = > the problem. > > I'm using (make-double-float-array) to create a data collection > array = > that is passed into the run loop. Within the run loop, it appears I > am = > succesfully writing values into and reading values from this array. > But = > after the run loop, running a Print on the array returns an array of = > D0.0's. So it appears the array contents aren't surviving the exit > from = > the run loop. > > I tried using (make-array) instead -- same result. > > Same error is occurring with my other instrument that tries to > return an = > envelope: scentroid and autoc. > > Any other sneaky ways I might be able to succesfully export data > from = > the run loop? > > > > > -----Original Message----- > From: Bill Schottstaedt [mailto:bil at ccrma.Stanford.EDU] > Sent: Tue 5/15/2007 6:09 PM > To: Bret Battey; Cmdist at ccrma.Stanford.EDU > Subject: Re: [CM] CLM 3 - rmsenv bugs and clm-print openmcl > =20 >> It returns a list of 0.0's regardless of what audio file I throw >> at = > it. > > It works for me in ACL 8.1 in both Linux and OSX -- I don't have > openmcl -- does it work on an Intel Mac yet? > > > > > ------_=_NextPart_001_01C79B03.46F32122 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Diso-8859-1"> > 6.5.7638.1"> > RE: [CM] CLM 3 - rmsenv bugs and clm-print openmcl > > > > >

Looks to me like OpenMCL is still PPC only.
>
> On Rick's suggestion, I tried a fresh OpenMCL install and the latest = > CLM3. In this case, clm-print does work, so I was able to narrow > down = > the problem.
>
> I'm using (make-double-float-array) to create a data collection > array = > that is passed into the run loop. Within the run loop, it appears I > am = > succesfully writing values into and reading values from this array. > But = > after the run loop, running a Print on the array returns an array of = > D0.0's. So it appears the array contents aren't surviving the exit > from = > the run loop.
>
> I tried using (make-array) instead -- same result.
>
> Same error is occurring with my other instrument that tries to > return an = > envelope: scentroid and autoc.
>
> Any other sneaky ways I might be able to succesfully export data > from = > the run loop?
>
>
>
>
> -----Original Message-----
> From: Bill Schottstaedt [
HREF=3D"mailto:bil at ccrma.Stanford.EDU">mailto:bil at ccrma.Stanford.EDU A>]= >
> Sent: Tue 5/15/2007 6:09 PM
> To: Bret Battey; Cmdist at ccrma.Stanford.EDU
> Subject: Re: [CM] CLM 3 - rmsenv bugs and clm-print openmcl
>
> >  It returns a list of 0.0's regardless of what audio file > I = > throw at it.
>
> It works for me in ACL 8.1 in both Linux and OSX -- I don't have
> openmcl -- does it work on an Intel Mac yet?
>
>
>
>
>

> > > > ------_=_NextPart_001_01C79B03.46F32122-- > > > > --__--__-- > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > End of Cmdist Digest ****************************************** Joshua Parmenter University of Washington Center for Digital Arts and Experimental Media School of Music Seattle, Washington 98195 http://www.realizedsound.net/josh/ http://www.dxarts.washington.edu From bil at ccrma.Stanford.EDU Sun May 20 16:22:47 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 20 May 2007 16:22:47 -0700 Subject: [CM] openmcl status In-Reply-To: <027BA8F9-1BCC-4403-B567-DF3FA20F522E@u.washington.edu> References: <20070520190004.31670.85731.Mailman@cm-mail.stanford.edu> <027BA8F9-1BCC-4403-B567-DF3FA20F522E@u.washington.edu> Message-ID: <20070520232138.M91512@ccrma.Stanford.EDU> Thanks very much for the info! For some reason I never noticed the linux x86-84 version -- I tried it just now, and CMN seems to be happy, but CLM hangs while compiling ffi.lisp. I'll poke at it more tomorrow. From bbattey at dmu.ac.uk Mon May 21 02:16:40 2007 From: bbattey at dmu.ac.uk (Bret Battey) Date: Mon, 21 May 2007 10:16:40 +0100 Subject: [CM] CLM 3 - rmsenv bugs and clm-print openmcl In-Reply-To: <20070520192231.M60557@ccrma.Stanford.EDU> Message-ID: I should clarify, too, that my instruments did work correctly in OpenMCL in CLM2... (though I'd have to dig to figure out exactly which version of OpenMCL and CLM2) -=Bret On 20/5/07 8:29 pm, "Bill Schottstaedt" wrote: > I guess run* doesn't work in openmcl -- there's a pair of ancient > comments in the code: > > ;; this (openmcl instrument linkage) probably needs the -to-c-and-lisp > linkages for run* > ;; I can't remember now what that ^ comment refers to! > > This is probably a reference to ccl:with-foreign-double-array-to-c-and-lisp -- > apparently in openmcl you need to set up some elaborate linkage in advance, > and I never got around to it for run*. > From josh at realizedsound.net Sun May 20 21:07:16 2007 From: josh at realizedsound.net (Joshua Parmenter) Date: Mon, 21 May 2007 06:07:16 +0200 Subject: [CM] openmcl status In-Reply-To: <20070520232138.M91512@ccrma.Stanford.EDU> References: <20070520190004.31670.85731.Mailman@cm-mail.stanford.edu> <027BA8F9-1BCC-4403-B567-DF3FA20F522E@u.washington.edu> <20070520232138.M91512@ccrma.Stanford.EDU> Message-ID: <10839CE1-80E8-4104-867C-CC273772B0F4@realizedsound.net> Like the x86-64 intel mac version, I don't think it is quite ready, so I'm not surprised if there are problems with it. I think its really ice to see them doing a Linux port for intel though (actually, if I remember correctly, they were funded by someone to do that, making the intel mac one possible!) Josh On May 21, 2007, at 1:22 AM, Bill Schottstaedt wrote: > Thanks very much for the info! For some reason I never noticed the > linux x86-84 version -- I tried it just now, and CMN seems to be > happy, > but CLM hangs while compiling ffi.lisp. I'll poke at it more > tomorrow. > > ****************************************** Joshua D. Parmenter http://www.realizedsound.net/josh/ ?Every composer ? at all times and in all cases ? gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono From edeleflie at gmail.com Mon May 21 21:16:25 2007 From: edeleflie at gmail.com (e deleflie) Date: Tue, 22 May 2007 14:16:25 +1000 Subject: [CM] Resampling in SND In-Reply-To: <20070518132341.M98875@ccrma.Stanford.EDU> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> Message-ID: <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> I've noticed that save-sound-as contains a field for sample rate ... I've tried putting a different sample rate in there but there was no conversion. What about if I want to change the bit-depth (from 16 to 24)? how would I do that? Etienne On 5/18/07, Bill Schottstaedt wrote: > > can anyone advise on the best quality re-sampling option? > > src-sound is Snd's resampler; its quality depends to some extent > on the sinc-width (this sets the length of the section of sound that > is convolved with a sinc function during the conversion). The > src speed is directly proportional to this width, so its default in > Snd is 10 -- this is about as small as it can be, so you will sometimes > hear artifacts -- Perry Cook liked 40 as a default, and I've heard > cases where I had to use 100 -- listen to the result and if it > sounds fine, you've got the right choice. Look under sinc-width > in extsnd.html for a test case. > > From edeleflie at gmail.com Tue May 22 00:43:39 2007 From: edeleflie at gmail.com (e deleflie) Date: Tue, 22 May 2007 17:43:39 +1000 Subject: [CM] Resampling in SND In-Reply-To: <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> Message-ID: <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> I have to admit that I am stumped by src-sound .... I cant for the life of me work out how to resample a file from 48000 to 44100 .... I've read the documentation a dozen times, but I still dont understand what is expected from the parameters. src-sound (num-or-env :optional base snd chn edpos) The documentation says "The argument 'num-or-env' can be either a number or an envelope. In the latter case, 'base' sets the segment base ...." It is never stated what the first case ('num') is supposed to represent. I've tried putting 44100 ... assuming that 'num' is supposed to be the new sample rate. But this gives clearly incorrect results. Also, what is meant by the segment base? Are there any examples anywhere? Etienne On 5/22/07, e deleflie wrote: > I've noticed that save-sound-as contains a field for sample rate ... > I've tried putting a different sample rate in there but there was no > conversion. > > What about if I want to change the bit-depth (from 16 to 24)? how > would I do that? > > Etienne > > On 5/18/07, Bill Schottstaedt wrote: > > > can anyone advise on the best quality re-sampling option? > > > > src-sound is Snd's resampler; its quality depends to some extent > > on the sinc-width (this sets the length of the section of sound that > > is convolved with a sinc function during the conversion). The > > src speed is directly proportional to this width, so its default in > > Snd is 10 -- this is about as small as it can be, so you will sometimes > > hear artifacts -- Perry Cook liked 40 as a default, and I've heard > > cases where I had to use 100 -- listen to the result and if it > > sounds fine, you've got the right choice. Look under sinc-width > > in extsnd.html for a test case. > > > > > From k.s.matheussen at notam02.no Tue May 22 01:04:33 2007 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Tue, 22 May 2007 10:04:33 +0200 (CEST) Subject: [CM] Resampling in SND In-Reply-To: <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> Message-ID: On Tue, 22 May 2007, e deleflie wrote: > I have to admit that I am stumped by src-sound .... I cant for the > life of me work out how to resample a file from 48000 to 44100 .... > I've read the documentation a dozen times, but I still dont understand > what is expected from the parameters. > > src-sound (num-or-env :optional base snd chn edpos) > > The documentation says "The argument 'num-or-env' can be either a > number or an envelope. In the latter case, 'base' sets the segment > base ...." > > It is never stated what the first case ('num') is supposed to > represent. I've tried putting 44100 ... assuming that 'num' is > supposed to be the new sample rate. But this gives clearly incorrect > results. > "num" is the sample rate change factor. So to go from 48000 to 44100, you set "num" to 44100/48000. > Also, what is meant by the segment base? > Thats the "base" argument for make-env. > Are there any examples anywhere? > Yes, lots of: grep make-src * From bil at ccrma.Stanford.EDU Tue May 22 04:31:14 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 22 May 2007 04:31:14 -0700 Subject: [CM] Resampling in SND In-Reply-To: <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> Message-ID: <20070522112838.M98719@ccrma.Stanford.EDU> > I've noticed that save-sound-as contains a field for sample rate ... > I've tried putting a different sample rate in there but there was no > conversion. > What about if I want to change the bit-depth (from 16 to 24)? how > would I do that? Resampling is a destructive change, so save-sound-as does not resample anything, but it will change sample representation (which ideally leaves the data intact) if you set :data-format to something: (save-sound-as "gad.snd" :data-format mus-l24int) If you really want save-sound-as to change the srate, see the documentation of before-save-as-hook. Normally the :srate argument simply sets the new sound file header srate field. From bil at ccrma.Stanford.EDU Tue May 22 04:37:05 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 22 May 2007 04:37:05 -0700 Subject: [CM] Resampling in SND In-Reply-To: <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> Message-ID: <20070522113139.M79093@ccrma.Stanford.EDU> > It is never stated what the first case ('num') is supposed to > represent. Hunh?? The very next sentences are: "A value greater than 1.0 causes the sound to be transposed up. A value less than 0.0 causes the sound to be reversed." I'll add another example, but there are dozens scattered around the *.scm files, and in the src-channel documentation directly above src-sound. From edeleflie at gmail.com Tue May 22 04:53:14 2007 From: edeleflie at gmail.com (e deleflie) Date: Tue, 22 May 2007 21:53:14 +1000 Subject: [CM] Resampling in SND In-Reply-To: <20070522113139.M79093@ccrma.Stanford.EDU> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> Message-ID: <9a471d320705220453n11af9c5cg22eb9516fde868bb@mail.gmail.com> On 5/22/07, Bill Schottstaedt wrote: > > It is never stated what the first case ('num') is supposed to > > represent. > > Hunh?? The very next sentences are: > > "A value greater than 1.0 causes the sound to be transposed up. > A value less than 0.0 causes the sound to be reversed." "In the latter case, 'base' sets the segment base (the default is 1.0 = linear). A value greater than 1.0 causes the sound to be transposed up." It reads as though that sentence is still describing the 'atter case' .... it also doesn't state what the number actually represents .... "A value greater than 1.0 causes the sound to be transposed up." ... but by how much? .... Kjetil explained it was as a ratio of the current sample rate. I dont know .... maybe I'm a bit slow when it comes to reading DSP docs ... An example that shows how to change the sample rate without transposing the pitches would be excellent! Etienne From juan at ccrma.Stanford.EDU Tue May 22 16:57:48 2007 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Tue, 22 May 2007 16:57:48 -0700 Subject: [CM] Resampling in SND In-Reply-To: <20070522113139.M79093@ccrma.Stanford.EDU> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> Message-ID: <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> Hi Bill, I was wondering how hard would it be to add support in snd to use libsamplerate (or secret rabbit code: http://www.mega-nerd.com/SRC/) I have been using this library for high-quality sampling rate conversion with very good results (I guess it's what programs like Ardour and Audacity use too). Best, JUAN On 5/22/07, Bill Schottstaedt wrote: > > It is never stated what the first case ('num') is supposed to > > represent. > > Hunh?? The very next sentences are: > > "A value greater than 1.0 causes the sound to be transposed up. > A value less than 0.0 causes the sound to be reversed." > > I'll add another example, > but there are dozens scattered around the *.scm files, and > in the src-channel documentation directly above src-sound. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From k.s.matheussen at notam02.no Tue May 22 19:23:10 2007 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Wed, 23 May 2007 04:23:10 +0200 (CEST) Subject: [CM] Resampling in SND In-Reply-To: <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> Message-ID: Are you sure its possible to hear any difference? I don't know, but they both use the sinc algorithm, and a short benchmarks I did two years ago showed that snd's resampler using a low src-width use a lot less cpu than libsamplerate. On Tue, 22 May 2007, Juan Pampin wrote: > Hi Bill, > I was wondering how hard would it be to add support in snd to use > libsamplerate (or secret rabbit code: http://www.mega-nerd.com/SRC/) I > have been using this library for high-quality sampling rate conversion > with very good results (I guess it's what programs like Ardour and > Audacity use too). > Best, > JUAN > > On 5/22/07, Bill Schottstaedt wrote: >> > It is never stated what the first case ('num') is supposed to >> > represent. >> >> Hunh?? The very next sentences are: >> >> "A value greater than 1.0 causes the sound to be transposed up. >> A value less than 0.0 causes the sound to be reversed." >> >> I'll add another example, >> but there are dozens scattered around the *.scm files, and >> in the src-channel documentation directly above src-sound. >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > From edeleflie at gmail.com Tue May 22 23:03:57 2007 From: edeleflie at gmail.com (e deleflie) Date: Wed, 23 May 2007 16:03:57 +1000 Subject: [CM] Header srate and data-format not being written to file Message-ID: <9a471d320705222303mbdaf5ebm2411324b23bfbe10@mail.gmail.com> All, In save-sound-as, I am setting the data-format to mus-l24int and the srate to 44100. But when I re-open the written file in SND (and other editors). Neither field is correctly written. The code is attached below. If I start with a 48kHz file, the srate in the header remains as 48000 (and hence the file plays back transposed up... since I resampled it down to 44100). The data-format also seems to remain as what it was in the source file... Am I doing something wrong? (should I set some global variable sor something?) Etienne ----------------------------------------------------------------- #!/usr/bin/snd -b !# (use-modules (ice-9 format)) ; set some global variables (set! (sinc-width) 100); set the sync width to very high to get the smaple rate conversion as accurate as possible (if (not (= (length (script-args)) 3)) ; (display "usage: decode_to_square.sh file-name") (begin (let ((name (list-ref (script-args) (+ (script-arg) 1)) )) (let ((index (open-sound name))) (display (format #f "header is ~a (or ~a) \n" (header-type index) (mus-header-type-name (header-type index)) )) (display (format #f "data-format is ~a (or ~a) \n" (data-format index) (mus-data-format-name (data-format index) ) )) (display (format #f "Resampling from ~D to 44100 \n" (srate index))) ; resample (src-sound (/ (srate index) 44100) 1.0 index) ; apply LADSPA plugin that converts to 4 speaker feeds in a square (apply-ladspa (list (make-sample-reader 0 0 0) ; W (make-sample-reader 0 0 1) ; X (make-sample-reader 0 0 2) ; Y (make-sample-reader 0 0 3)) ; Z (list "ambis1" "Ambisonics-square-decoder" 0 1 1.4138 2 380 2.7) (mus-sound-frames name) "ambisonic file") ; now convert the 4 channels into 4 mono wav files, and write to disk (do ((i 0 (1+ i))) ((= i 4)) (display (format #f "writing channel ~D\n" i)) (save-sound-as (format #f "~a.~a" name (case i ((0) "LFront.wav") ((1) "RFront.wav") ((2) "RSurround.wav") ((3) "LSurround.wav") (else "lost") ) ) index :header-type mus-riff ; (value= 3) RIFF header (for Microsoft WAVE) :data-format mus-l24int ; (value= 16) 24 Bit little endian int :srate 44100 ; the sound is already resampled, so lets set the appropriate file header :channel i) ) (close-sound index) ) ) ) ) (exit) From t.luke.hammon at gmail.com Tue May 22 20:49:54 2007 From: t.luke.hammon at gmail.com (luke hammon) Date: Tue, 22 May 2007 23:49:54 -0400 Subject: [CM] SBCL package locks causing errors loading :osc Message-ID: <336fcc5d0705222049i5edb3af8se3477e326d7260dd@mail.gmail.com> Hi list, I'm still having difficulty loading the osc module due to SBCL's package locking. I'm sure I'm missing something silly. Do you have any pointers? Thanks in advance. -luke Lock on package SB-ALIEN violated when defining SB-ALIEN::UDP-SOCKET as a class. [Condition of type SB-EXT:SYMBOL-PACKAGE-LOCKED-ERROR] See also: SBCL Manual, Package Locks [node] Restarts: 0: [CONTINUE] Ignore the package lock. 1: [IGNORE-ALL] Ignore all package locks in the context of this operation. 2: [UNLOCK-PACKAGE] Unlock the package. 3: [RETRY] Retry performing # on #. 4: [ACCEPT] Continue, treating # on # as having been successful. 5: [ABORT-REQUEST] Abort handling SLIME request. 6: [TERMINATE-THREAD] Terminate this thread (#)ading -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed May 23 05:08:41 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 23 May 2007 05:08:41 -0700 Subject: [CM] Header srate and data-format not being written to file In-Reply-To: <9a471d320705222303mbdaf5ebm2411324b23bfbe10@mail.gmail.com> References: <9a471d320705222303mbdaf5ebm2411324b23bfbe10@mail.gmail.com> Message-ID: <20070523120811.M96014@ccrma.Stanford.EDU> > The data-format also seems to remain as what it was in the source file... Thanks for the bug report; the problem is that the channel extraction code forgot to include the new header info. I think the current tarball works correctly. From taube at uiuc.edu Wed May 23 09:21:55 2007 From: taube at uiuc.edu (Rick Taube) Date: Wed, 23 May 2007 11:21:55 -0500 Subject: [CM] SBCL package locks causing errors loading :osc In-Reply-To: <336fcc5d0705222049i5edb3af8se3477e326d7260dd@mail.gmail.com> References: <336fcc5d0705222049i5edb3af8se3477e326d7260dd@mail.gmail.com> Message-ID: <407D6898-A4B9-48FD-893B-428FEC5EE141@uiuc.edu> not sure why this is happening at this point -- for now select option 2 (unlock package) and it shoud load. ill take a look at the problem as soon as i have a bit of time in the next few days. --rick On May 22, 2007, at 10:49 PM, luke hammon wrote: > Hi list, > > I'm still having difficulty loading the osc module due to SBCL's > package locking. I'm sure I'm missing something silly. Do you > have any pointers? Thanks in advance. > > -luke > > > Lock on package SB-ALIEN violated when defining SB-ALIEN::UDP- > SOCKET as a class. > [Condition of type SB-EXT:SYMBOL-PACKAGE-LOCKED-ERROR] > > See also: > SBCL Manual, Package Locks [node] > > Restarts: > 0: [CONTINUE] Ignore the package lock. > 1: [IGNORE-ALL] Ignore all package locks in the context of this > operation. > 2: [UNLOCK-PACKAGE] Unlock the package. > 3: [RETRY] Retry performing # on > #. > 4: [ACCEPT] Continue, treating # on > # as having been successful. > 5: [ABORT-REQUEST] Abort handling SLIME request. > 6: [TERMINATE-THREAD] Terminate this thread (# thread" {AF21B91}>)ading From taube at uiuc.edu Wed May 23 13:57:12 2007 From: taube at uiuc.edu (Rick Taube) Date: Wed, 23 May 2007 15:57:12 -0500 Subject: [CM] sbcl osx/intel question Message-ID: <16750EEC-6DD4-44D8-A9DB-08DFAF35AAB1@uiuc.edu> can someone who is using the latest sbcl/osx-x86 tell me what the state of sb-threads is there? (see if its on features, for example.) from what i can tell from the sbcl docs it might be working. also would someone be willing to run cm's rts stress test if threads are supported ? From t.luke.hammon at gmail.com Wed May 23 13:55:29 2007 From: t.luke.hammon at gmail.com (Luke Hammon) Date: Wed, 23 May 2007 16:55:29 -0400 Subject: [CM] SBCL package locks causing errors loading :osc In-Reply-To: <407D6898-A4B9-48FD-893B-428FEC5EE141@uiuc.edu> References: <336fcc5d0705222049i5edb3af8se3477e326d7260dd@mail.gmail.com> <407D6898-A4B9-48FD-893B-428FEC5EE141@uiuc.edu> Message-ID: <6c6aafda0705231355x767a01c3x36da01d8a8bafc5@mail.gmail.com> After I hit option 2 everything loads without qualm, but if I try a (define *sc* (sc-open)) I get: ----- The function MAKE-UDP-SOCKET is undefined. [Condition of type UNDEFINED-FUNCTION] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [TERMINATE-THREAD] Terminate this thread (#) ----- I can use make-udp-socket from within package :SB-ALIEN, but not in :CM. I'm using Supercollider non-realtime until this clears up, so no rush, but let me know if you turn anything up. Thanks again, -luke On 5/23/07, Rick Taube wrote: > > not sure why this is happening at this point -- for now select option > 2 (unlock package) and it shoud load. ill take a look at the problem > as soon as i have a bit of time in the next few days. > --rick > > On May 22, 2007, at 10:49 PM, luke hammon wrote: > > > Hi list, > > > > I'm still having difficulty loading the osc module due to SBCL's > > package locking. I'm sure I'm missing something silly. Do you > > have any pointers? Thanks in advance. > > > > -luke > > > > > > Lock on package SB-ALIEN violated when defining SB-ALIEN::UDP- > > SOCKET as a class. > > [Condition of type SB-EXT:SYMBOL-PACKAGE-LOCKED-ERROR] > > > > See also: > > SBCL Manual, Package Locks [node] > > > > Restarts: > > 0: [CONTINUE] Ignore the package lock. > > 1: [IGNORE-ALL] Ignore all package locks in the context of this > > operation. > > 2: [UNLOCK-PACKAGE] Unlock the package. > > 3: [RETRY] Retry performing # on > > #. > > 4: [ACCEPT] Continue, treating # on > > # as having been successful. > > 5: [ABORT-REQUEST] Abort handling SLIME request. > > 6: [TERMINATE-THREAD] Terminate this thread (# > thread" {AF21B91}>)ading > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From edeleflie at gmail.com Wed May 23 22:14:21 2007 From: edeleflie at gmail.com (e deleflie) Date: Thu, 24 May 2007 15:14:21 +1000 Subject: [CM] Compile error (--with-no-GUI) Message-ID: <9a471d320705232214o7e760618te2f8bd542a88a74@mail.gmail.com> Downloaded from ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-9.tar.gz about 2 hours ago. On Ubuntu 6.10, I first did: ./configure --with-no-GUI --with-ladspa --with-guile and then I did 'make', and got the following: gcc -c -DLOCALE_DIR=\"/usr/local/share/locale\" -DSCRIPTS_DIR=\"/usr/local/share/snd\" -DHAVE_CONFIG_H -O2 -I. -g -O2 snd-nogui.c (cd po && make) make[1]: Entering directory `/home/wasteofspace/downloads/snd-9/po' test -z "de.gmo" || make de.gmo make[2]: Entering directory `/home/wasteofspace/downloads/snd-9/po' rm -f de.gmo && : -c --statistics -o de.gmo de.po mv: cannot stat `t-de.gmo': No such file or directory make[2]: *** [de.gmo] Error 1 make[2]: Leaving directory `/home/wasteofspace/downloads/snd-9/po' make[1]: *** [stamp-po] Error 2 make[1]: Leaving directory `/home/wasteofspace/downloads/snd-9/po' make: *** [snd] Error 2 Etienne From edeleflie at gmail.com Thu May 24 02:38:21 2007 From: edeleflie at gmail.com (e deleflie) Date: Thu, 24 May 2007 19:38:21 +1000 Subject: [CM] Disk full with SND files in /tmp Message-ID: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> All, I've got a script that runs the script below 10 times (it reads a 4 channel file, passes it through a LADSPA plugin, then writes 4 mono files). I've just noticed that my hard drive is getting fuller and fuller, even though I've been erasing the output of the script. I did a search for recnelty modified files and found that /tmp is filling up with very large files named snd_xxx_0.snd Have I done something wrong in the script below? (I _do_close the original file). I'm running SND version 7.9 (until I fix the compile errors posted in the previous email). regards, Etienne > ----------------------------------------------------------------- > #!/usr/bin/snd -b > !# > (use-modules (ice-9 format)) > ; set some global variables > (set! (sinc-width) 100); set the sync width to very high to get the > smaple rate conversion as accurate as possible > (if (not (= (length (script-args)) 3)) ; > (display "usage: decode_to_square.sh file-name") > (begin > (let ((name (list-ref (script-args) (+ (script-arg) 1)) )) > (let ((index (open-sound name))) > (display (format #f "header is ~a (or > ~a) \n" (header-type index) (mus-header-type-name (header-type index)) > )) > (display (format #f "data-format is ~a > (or ~a) \n" (data-format index) (mus-data-format-name (data-format > index) ) )) > (display (format #f "Resampling from > ~D to 44100 \n" (srate index))) > > ; resample > (src-sound (/ (srate index) 44100) 1.0 index) > > ; apply LADSPA plugin that converts to > 4 speaker feeds in a square > (apply-ladspa (list > (make-sample-reader 0 0 0) ; W > > (make-sample-reader 0 0 1) ; X > > (make-sample-reader 0 0 2) ; Y > > (make-sample-reader 0 0 3)) ; Z > (list "ambis1" > "Ambisonics-square-decoder" 0 1 1.4138 2 380 2.7) > (mus-sound-frames name) > "ambisonic file") > > ; now convert the 4 channels into 4 > mono wav files, and write to disk > (do ((i 0 (1+ i))) > ((= i 4)) > (display (format #f "writing > channel ~D\n" i)) > (save-sound-as (format #f "~a.~a" name > (case i > > ((0) "LFront.wav") > > ((1) "RFront.wav") > > ((2) "RSurround.wav") > > ((3) "LSurround.wav") > > (else "lost") > ) > ) > index > :header-type > mus-riff ; (value= 3) RIFF header (for Microsoft WAVE) > :data-format > mus-l24int ; (value= 16) 24 Bit little endian int > :srate 44100 ; > the sound is already resampled, so lets set the appropriate file > header > :channel i) > ) > (close-sound index) > ) > ) > ) > ) > (exit) > From bil at ccrma.Stanford.EDU Thu May 24 06:51:26 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 24 May 2007 06:51:26 -0700 Subject: [CM] Compile error (--with-no-GUI) In-Reply-To: <9a471d320705232214o7e760618te2f8bd542a88a74@mail.gmail.com> References: <9a471d320705232214o7e760618te2f8bd542a88a74@mail.gmail.com> Message-ID: <20070524134940.M86058@ccrma.Stanford.EDU> That looks like (yet another) bug in gettext's make process -- use the configuration switch --disable-nls to get around it. From fitzpatrickd at boystown.org Thu May 24 08:28:41 2007 From: fitzpatrickd at boystown.org (Fitzpatrick, Denis F) Date: Thu, 24 May 2007 10:28:41 -0500 Subject: [CM] problem with playing cm generated midi on mac pro intel, osx 10.4 Message-ID: <2B2B3A80BAD4524B967E9A6D846E427701CA5B60@NERHEX01.btnrh.boystown.org> I'm a common music on the mac newbie, and this may not be a common music question, per se. When playing a cm generated midi file, for example, from the line: (events (sinus 80 4 20 100 .1 .1 .6) "intro.mid" :versioning true) in the tutorial intro.lisp, the first few notes of the file are bunched together and played as a chord. This is also the case in playing the generated file outside cm with Quicktime the first time. However, when playing it again (i.e., without closing Quicktime), it plays as I believe it should. Any ideas? Thanks. Denis Fitzpatrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Thu May 24 10:33:49 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 24 May 2007 10:33:49 -0700 Subject: [CM] Disk full with SND files in /tmp In-Reply-To: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> References: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> Message-ID: <20070524172823.M14919@ccrma.Stanford.EDU> > I did a search for recnelty modified files and found that /tmp is > filling up with very large files named snd_xxx_0.snd An interesting problem! I never noticed it because I don't "exit" from my various tests. The temp file is the output of src-sound. Since you set up sample-readers into that data, I can't automatically delete it when the sound is closed -- the readers have not yet been garbage collected by Guile, so they might conceivably be accessed. In "normal" operation, the file would be deleted when the GC finally got called, but in this case, you call "exit" which bypasses the GC (even calling it explicitly at the end doesn't help in this case, though the Guile folks claim this is not a bug). So, I think the following will fix it: set up a list of readers, call apply-ladspa, then explicitly free those readers: (let ((readers (list (make-sample-reader 0 0 0) ; W (make-sample-reader 0 0 1) ; X (make-sample-reader 0 0 2) ; Y (make-sample-reader 0 0 3)))) ; Z (apply-ladspa readers (list "ambis1" "Ambisonics-square-decoder" 0 1 1.4138 2 380 2.7) (mus-sound-frames name) "ambisonic file") (for-each free-sample-reader readers)) Also, you'll need the new (today's) tarball to compile the no-gui version; whenever Sourceforge comes back, I'll also update the CVS version. From michael at klingbeil.com Thu May 24 14:30:26 2007 From: michael at klingbeil.com (Michael Klingbeil) Date: Thu, 24 May 2007 17:30:26 -0400 Subject: [CM] sound-loop-info / mus_sound_loop_info Message-ID: I'm trying to use sound-loop-info in clm-3 to determine the start and end points of loops that are in .aiff files in an existing sample database. If I open one of the files in Peak, I can see that the loop is set. In clm-3 I get the following: CM> (sound-loop-info "/Volumes/London Choir/Samples/Techniques/Vibrato/V01-Vib D2 -LR" linfo) NIL CM> linfo #(1 2 0 0 38 0 1 0) The values 1 and 2 seem to indicate something about the loop start and end, but not the position. The loop start is 61237 samples and the end is 173001 samples. It does seem to get the correct base key which is 38 (D2). If I try an empty .aiff file with no loop information, I get the following: CM> (sound-loop-info "/Users/mkling/Desktop/empty.aif" linfo) NIL CM> linfo #(0 0 0 0 60 0 0 0) CM> Is there a straightforward way to get the loop start and end points in samples? I'm using *clm-date* "14-Feb-07", OpenMCL Version 1.0-p060223 (DarwinPPC32), MacOS X 10.4. Thanks, Michael From bil at ccrma.Stanford.EDU Thu May 24 15:32:50 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 24 May 2007 15:32:50 -0700 Subject: [CM] sound-loop-info / mus_sound_loop_info In-Reply-To: References: Message-ID: <20070524222930.M21394@ccrma.Stanford.EDU> Are those mark numbers (the 1 and 2 in the list)? I'll have to dig around in documentation, but my first guess is that you can use (mus-header-mark-position 1) (and 2) to get the actual positions. The full loop arrays are available via mus-header-loop-start|end. From edeleflie at gmail.com Thu May 24 16:08:16 2007 From: edeleflie at gmail.com (e deleflie) Date: Fri, 25 May 2007 09:08:16 +1000 Subject: [CM] Disk full with SND files in /tmp In-Reply-To: <20070524172823.M14919@ccrma.Stanford.EDU> References: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> <20070524172823.M14919@ccrma.Stanford.EDU> Message-ID: <9a471d320705241608s6cc806fcq21c0e074e7414f79@mail.gmail.com> Wont that load the full contents of the original sound file into RAM? (or does that already happen?) Some of my files are over 500 MB large ... and the conversion will be running on a web server so I'm a bit conservative with RAM useage ... (BTW ... the website I am working on is www.ambisonia.com) ... an other thought, couldn't I explicitely call the Guile GC myself? or perhaps explicitely set a 'null' object to the file reader? (I'm thinking from other languages) Etienne On 5/25/07, Bill Schottstaedt wrote: > > I did a search for recnelty modified files and found that /tmp is > > filling up with very large files named snd_xxx_0.snd > > An interesting problem! I never noticed it because I don't "exit" from > my various tests. The temp file is the output of src-sound. Since > you set up sample-readers into that data, I can't automatically delete > it when the sound is closed -- the readers have not yet been garbage > collected by Guile, so they might conceivably be accessed. In "normal" > operation, the file would be deleted when the GC finally got called, > but in this case, you call "exit" which bypasses the GC (even calling > it explicitly at the end doesn't help in this case, though the Guile > folks claim this is not a bug). So, I think the following will fix it: > set up a list of readers, call apply-ladspa, then explicitly free those > readers: > > (let ((readers > (list (make-sample-reader 0 0 0) ; W > (make-sample-reader 0 0 1) ; X > (make-sample-reader 0 0 2) ; Y > (make-sample-reader 0 0 3)))) ; Z > (apply-ladspa readers > (list "ambis1" > "Ambisonics-square-decoder" 0 1 1.4138 2 380 2.7) > (mus-sound-frames name) > "ambisonic file") > (for-each free-sample-reader readers)) > > Also, you'll need the new (today's) tarball to compile the no-gui version; > whenever Sourceforge comes back, I'll also update the CVS version. > > From michael at klingbeil.com Thu May 24 17:12:36 2007 From: michael at klingbeil.com (Michael Klingbeil) Date: Thu, 24 May 2007 20:12:36 -0400 Subject: [CM] sound-loop-info / mus_sound_loop_info In-Reply-To: <20070524222930.M21394@ccrma.Stanford.EDU> References: <20070524222930.M21394@ccrma.Stanford.EDU> Message-ID: Bill, Thanks, that seems to do the trick! So the header info is stored in a static variable and is updated whenever a header is read? As long as I call mus-header-mark-position immediately following sound-loop-info I presume all will be well. Michael At 3:32 PM -0700 5/24/07, Bill Schottstaedt wrote: >Are those mark numbers (the 1 and 2 in the list)? I'll have to dig >around in documentation, but my first guess is that you can use >(mus-header-mark-position 1) (and 2) to get the actual positions. >The full loop arrays are available via mus-header-loop-start|end. > > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Thu May 24 17:46:01 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 24 May 2007 17:46:01 -0700 Subject: [CM] Disk full with SND files in /tmp In-Reply-To: <9a471d320705241608s6cc806fcq21c0e074e7414f79@mail.gmail.com> References: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> <20070524172823.M14919@ccrma.Stanford.EDU> <9a471d320705241608s6cc806fcq21c0e074e7414f79@mail.gmail.com> Message-ID: <20070525004424.M20600@ccrma.Stanford.EDU> > Wont that load the full contents of the original sound file into RAM? > (or does that already happen?) No. It makes no difference in that regard. Normally Snd loads about 8192 samples into RAM per reader. And calling the GC won't help, as I mentioned before. From bil at ccrma.Stanford.EDU Thu May 24 17:51:23 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 24 May 2007 17:51:23 -0700 Subject: [CM] sound-loop-info / mus_sound_loop_info In-Reply-To: References: <20070524222930.M21394@ccrma.Stanford.EDU> Message-ID: <20070525004711.M49210@ccrma.Stanford.EDU> > Thanks, that seems to do the trick! So the header info is stored in a > static variable and is updated whenever a header is read? As long as > I call mus-header-mark-position immediately following sound-loop-info > I presume all will be well. yes and yes. Or call mus-header-read rather than sound-loop-info -- its code is in ffi.lisp. I wonder why I don't just return the mark positions in sound-loop-info -- is there any reason not to? (I've never used these loop points -- maybe someone knows why they are set up in such a convoluted manner). From michael at klingbeil.com Thu May 24 20:04:49 2007 From: michael at klingbeil.com (Michael Klingbeil) Date: Thu, 24 May 2007 23:04:49 -0400 Subject: [CM] sound-loop-info / mus_sound_loop_info In-Reply-To: <20070525004711.M49210@ccrma.Stanford.EDU> References: <20070524222930.M21394@ccrma.Stanford.EDU> <20070525004711.M49210@ccrma.Stanford.EDU> Message-ID: So here's a sort of follow-up question (although the connection may seem obscure): should it be possible to read a sound file backwards using "file->frame" ? (to do something like forward/backward looping) I tried creating a modified version of fullmix.ins that decrements that starts the input location somewhere in the middle of the file and then decrements the input index. This seems to hang clm (or at least it goes into a very tight loop). Some investigations in clm.c suggest that it is rebuffering at each sample. My hack solution (beginning at line 5518 in clm.c) is this: /* read in first buffer start either at samp (dir > 0) or samp-bufsize (dir < 0) */ newloc = (int)(samp - (gen->file_buffer_size * .5)); which keeps the buffer always centered on the read pointer. Is there a better way to do this -- for example a way switch the "direction" of the file->frame generator? Also, just curious why is the file descriptor opened/closed every time the buffer is refilled? Wouldn't this be a performance hit? Maybe it doesn't matter much with big buffers. Thanks, Michael At 5:51 PM -0700 5/24/07, Bill Schottstaedt wrote: > > Thanks, that seems to do the trick! So the header info is stored in a >> static variable and is updated whenever a header is read? As long as >> I call mus-header-mark-position immediately following sound-loop-info >> I presume all will be well. > >yes and yes. Or call mus-header-read rather than sound-loop-info -- >its code is in ffi.lisp. I wonder why I don't just return the mark positions >in sound-loop-info -- is there any reason not to? (I've never used >these loop points -- maybe someone knows why they are set up in >such a convoluted manner). From rbastian at free.fr Fri May 25 00:41:14 2007 From: rbastian at free.fr (=?iso-8859-1?q?Ren=E9=20Bastian?=) Date: Fri, 25 May 2007 09:41:14 +0200 Subject: [CM] Disk full with SND files in /tmp In-Reply-To: <20070525004424.M20600@ccrma.Stanford.EDU> References: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> <9a471d320705241608s6cc806fcq21c0e074e7414f79@mail.gmail.com> <20070525004424.M20600@ccrma.Stanford.EDU> Message-ID: <07052509411400.00752@rbastian> Le Vendredi 25 Mai 2007 02:46, Bill Schottstaedt a ?crit : > > Wont that load the full contents of the original sound file into RAM? > > (or does that already happen?) > > No. It makes no difference in that regard. Normally Snd loads about > 8192 samples into RAM per reader. And calling the GC won't help, > as I mentioned before. > Loading only 8192 samples into RAM has the effect that the playback of a sound file is often disrupted : Snd cannot be utilized on stage (the same can happen with with newer versions of linuxian software, i.e. play or aplay ... whereas the older versions worked fine). -- Ren? Bastian http://www.musiques-rb.org http://pythoneon.musiques-rb.org From edeleflie at gmail.com Fri May 25 00:47:57 2007 From: edeleflie at gmail.com (e deleflie) Date: Fri, 25 May 2007 17:47:57 +1000 Subject: [CM] Disk full with SND files in /tmp In-Reply-To: <07052509411400.00752@rbastian> References: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> <9a471d320705241608s6cc806fcq21c0e074e7414f79@mail.gmail.com> <20070525004424.M20600@ccrma.Stanford.EDU> <07052509411400.00752@rbastian> Message-ID: <9a471d320705250047u55a74d11n205983f8f95039e7@mail.gmail.com> On 5/25/07, Ren? Bastian wrote: > Le Vendredi 25 Mai 2007 02:46, Bill Schottstaedt a ?crit : > > > Wont that load the full contents of the original sound file into RAM? > > > (or does that already happen?) > > > > No. It makes no difference in that regard. Normally Snd loads about > > 8192 samples into RAM per reader. And calling the GC won't help, > > as I mentioned before. > > > > Loading only 8192 samples into RAM has the effect that the playback > of a sound file is often disrupted : Snd cannot be > utilized on stage (the same can happen with with newer versions > of linuxian software, i.e. play or aplay ... whereas the older versions > worked fine). that's no problems for me since I'm only using SND to convert Ambisonic files into DTS 5.1 surround ones (on a server). No real time proccessing. but wouldn't SND have smart disk read/write management if used live ? Etienne From k.s.matheussen at notam02.no Fri May 25 01:00:40 2007 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Fri, 25 May 2007 10:00:40 +0200 (CEST) Subject: [CM] Disk full with SND files in /tmp In-Reply-To: <07052509411400.00752@rbastian> References: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> <9a471d320705241608s6cc806fcq21c0e074e7414f79@mail.gmail.com> <20070525004424.M20600@ccrma.Stanford.EDU> <07052509411400.00752@rbastian> Message-ID: On Fri, 25 May 2007, Ren? Bastian wrote: > Le Vendredi 25 Mai 2007 02:46, Bill Schottstaedt a ?crit : >>> Wont that load the full contents of the original sound file into RAM? >>> (or does that already happen?) >> >> No. It makes no difference in that regard. Normally Snd loads about >> 8192 samples into RAM per reader. And calling the GC won't help, >> as I mentioned before. >> > > Loading only 8192 samples into RAM has the effect that the playback > of a sound file is often disrupted : Snd cannot be > utilized on stage (the same can happen with with newer versions > of linuxian software, i.e. play or aplay ... whereas the older versions > worked fine). > If you are using snd-ls (which use the instrument in rt-player.scm for playback), snd actually buffers 5 seconds of sound into RAM before starting to play. (I wonder if 5 seconds perhaps is a bit too much though, since memory is not cheap...) From J.Anderson at hull.ac.uk Fri May 25 04:45:40 2007 From: J.Anderson at hull.ac.uk (Joseph Anderson) Date: Fri, 25 May 2007 12:45:40 +0100 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> Message-ID: Hello All, This may be more an existential than anything. . . (and whether I've posted this before, my goldfish memory), and I'm writing this after a conversation I had with Bret Battey, yesterday. . . I'm a dyed in the wool "tape" music composer with a lot of experience with Music V typle languages. My last big pieces were all made using SuperCollider2 in it's non-realtime mode, and I have a fairly large set of tools written as SC2 UGens. The move to SC3, with it's focus on a realtime paradigm, has left a lot to be desired from my point of view. Simple tasks that were easy for the sorts of things I'm interested in doing are now much more difficult--and some are inexcessable without resorting to writing in C++, which seems to scupper the whole point of a dedicated computer music language IMV. I'm well committed to working in a non-realtime way. I like to set up a batch, run lots of variations overnight and then choose the best bits the next day. I've been doing a bit of twiddling with Rick's CM.app, and have begun porting some of my SC3 code to clm-3. I will have to say that I'm not finding a move to clm to be particularly easy. I'd like to be able to find tutorial material equivalent to the sorts of things available for SC2/SC3--but haven't turned up anything like Cottle's SC3 material. So, I'm hoping the list can point me to tutorials on working with cm, and particularly clm. In particular, I'm not terribly clear on the system model. That is compounded by the fact that I'm new to lisp as well. Ok, so the existential bit. . . . for a newbie to the clm world, is clm/cm the suggested way forward, or are these things intended to be replaced by Snd? I do see the note on the Snd page: "CLM-in-CL users will be disappointed with the CLM-in-Scheme performance; my tests indicate that interpreted Scheme (as in Snd currently) is about 30 to 100 times slower than CLM instruments using the run macro. " Which makes me think I probably want to be in clm rather than Snd. What about Scheme? Guile/Snd? Is it best to go just press ahead with CM.app? Again, any help for pointers on getting up to speed (tutorials!) with working with clm? Apologies if this sounds unfocused and rambling. Thanks for the advice. Jo -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: not available URL: From bil at ccrma.Stanford.EDU Fri May 25 05:05:03 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 25 May 2007 05:05:03 -0700 Subject: [CM] Disk full with SND files in /tmp In-Reply-To: <07052509411400.00752@rbastian> References: <9a471d320705240238w3e1d19bdw500f22033e71decc@mail.gmail.com> <9a471d320705241608s6cc806fcq21c0e074e7414f79@mail.gmail.com> <20070525004424.M20600@ccrma.Stanford.EDU> <07052509411400.00752@rbastian> Message-ID: <20070525115412.M86681@ccrma.Stanford.EDU> > Loading only 8192 samples into RAM has the effect that the playback > of a sound file is often disrupted : Snd cannot be > utilized on stage These issues are only very distantly related -- are you getting dropouts? Do you use Gtk? (The actual playback buffer size is independent of the sample-reader's buffer size). From bil at ccrma.Stanford.EDU Fri May 25 05:18:07 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 25 May 2007 05:18:07 -0700 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> Message-ID: <20070525120712.M18418@ccrma.Stanford.EDU> > interpreted Scheme (as in Snd currently) is about 30 to 100 times > slower than CLM instruments using the run macro. Geez, it's the week for selective quoting -- the very next sentence explains that the run macro exists now in Snd, and the difference in compute time is more like a factor of 4 -- even that strikes me as high -- I'll have to re-run some of my timing tests to see how close it is. I'll rewrite that paragraph. I think Snd is easier to use than the CL versions of clm. I don't have an extended tutorial for clm -- one is badly needed. There are lots of example instruments and note lists, and sndscm.html has individual discussions of each of the clm instruments in Snd (clm-ins for example). From bil at ccrma.Stanford.EDU Fri May 25 06:48:45 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 25 May 2007 06:48:45 -0700 Subject: [CM] sound-loop-info / mus_sound_loop_info In-Reply-To: References: <20070524222930.M21394@ccrma.Stanford.EDU> <20070525004711.M49210@ccrma.Stanford.EDU> Message-ID: <20070525133724.M87436@ccrma.Stanford.EDU> > newloc = (int)(samp - (gen->file_buffer_size * .5)); Thanks for the interesting suggestion. The original plan was that readin would handle that kind of operation, setting the "dir" field -- this is the same, I think, as using the mus-increment function with the file->frame generator, as you mention. I'd rather not make the change you suggest because it means that every sample is read twice ("read" here can include data type conversions, etc). Does mus-increment fix the problem? > Also, just curious why is the file descriptor opened/closed every > time the buffer is refilled? Wouldn't this be a performance hit? I didn't see any difference in my timing tests, and the current way avoids any OS limits on open files, and is cleaner if something goes wrong -- if a computation is interrupted (say you hit a bug during instrument development), you don't have to worry about dangling files, and at least some portion of your output is probably saved. From bil at ccrma.Stanford.EDU Fri May 25 07:09:09 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 25 May 2007 07:09:09 -0700 Subject: [CM] file ops Message-ID: <20070525135728.M3860@ccrma.Stanford.EDU> Since several people seem to be worrying about disk accesses -- I think that modern OS's (linux in particular) automatically cache files in RAM -- what appear to be disk ops are actually references to memory. In the bad old days you had to use mmap or something -- I forget how it used to work. This info itself may be out-of-date -- I am not an OS wizard! My first thought when I hear about dropouts is not "disk ops", but "garbage collection", and then "X server traffic", and then "some background process". I believe the latter is one thing that Fernando's real-time kernel deals with. And Motif generates at least an order of magnitude less X traffic than Gtk. As I say, I don't actually know anything... From J.Anderson at hull.ac.uk Fri May 25 07:09:31 2007 From: J.Anderson at hull.ac.uk (Joseph Anderson) Date: Fri, 25 May 2007 15:09:31 +0100 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <20070525120712.M18418@ccrma.Stanford.EDU> Message-ID: Hello Bill, Oops, not intending to be so selective in my quoting. . . the below quote just jumped out at me. So would you suggest the Snd route as the modern way forward? Just a quick glance at the Snd pages, the option of using Ruby looks somewhat more approachable for the lisp clueless. I suppose if I have a go with the docs I can work out how to use Snd as a batchable Music V engine? So you're suggesting this path rather than the clm-3? Thanks, Jo -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU on behalf of Bill Schottstaedt Sent: Fri 05/25/2007 1:18 PM To: Joseph Anderson; Cmdist at ccrma.Stanford.EDU Cc: Subject: Re: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? > interpreted Scheme (as in Snd currently) is about 30 to 100 times > slower than CLM instruments using the run macro. Geez, it's the week for selective quoting -- the very next sentence explains that the run macro exists now in Snd, and the difference in compute time is more like a factor of 4 -- even that strikes me as high -- I'll have to re-run some of my timing tests to see how close it is. I'll rewrite that paragraph. I think Snd is easier to use than the CL versions of clm. I don't have an extended tutorial for clm -- one is badly needed. There are lots of example instruments and note lists, and sndscm.html has individual discussions of each of the clm instruments in Snd (clm-ins for example). _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: not available URL: From bbattey at dmu.ac.uk Fri May 25 07:34:30 2007 From: bbattey at dmu.ac.uk (Bret Battey) Date: Fri, 25 May 2007 15:34:30 +0100 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: Message-ID: As long as Jo is asking this, I might as well ask further (though I admit I have made no effort to figure this out on my own): Jo is talking about doing non-realtime work, including doing analysis tasks on one file, using that information to guide a synthesis process on another file, the output of which might be processed by other instruments and combined together... The type of stuff one does with (with-sound) in CLM. To what degree does it makes sense to try to do that kind of approach within the SND framework? -=Bret On 25/5/07 3:09 pm, "Joseph Anderson" wrote: > Hello Bill, > > Oops, not intending to be so selective in my quoting. . . the below quote just > jumped out at me. > > So would you suggest the Snd route as the modern way forward? Just a quick > glance at the Snd pages, the option of using Ruby looks somewhat more > approachable for the lisp clueless. > > I suppose if I have a go with the docs I can work out how to use Snd as a > batchable Music V engine? > > So you're suggesting this path rather than the clm-3? > > > Thanks, > Jo > > > -----Original Message----- > From: cmdist-admin at ccrma.Stanford.EDU on behalf of Bill Schottstaedt > Sent: Fri 05/25/2007 1:18 PM > To: Joseph Anderson; Cmdist at ccrma.Stanford.EDU > Cc: > Subject: Re: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? > >> interpreted Scheme (as in Snd currently) is about 30 to 100 times >> slower than CLM instruments using the run macro. > > Geez, it's the week for selective quoting -- the very next sentence explains > that the run macro exists now in Snd, and the difference in compute time > is more like a factor of 4 -- even that strikes me as high -- I'll have to > re-run some of my timing tests to see how close it is. I'll rewrite that > paragraph. I think Snd is easier to use than the CL versions of clm. > I don't have an extended tutorial for clm -- one is badly needed. > There are lots of example instruments and note lists, and sndscm.html > has individual discussions of each of the clm instruments in Snd (clm-ins > for example). > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > ****************************************************************************** > *********** > To view the terms under which this email is distributed, please go to > http://www.hull.ac.uk/legal/email_disclaimer.html > ****************************************************************************** > *********** From k.s.matheussen at notam02.no Fri May 25 07:35:12 2007 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Fri, 25 May 2007 16:35:12 +0200 (CEST) Subject: [CM] file ops In-Reply-To: <20070525135728.M3860@ccrma.Stanford.EDU> References: <20070525135728.M3860@ccrma.Stanford.EDU> Message-ID: On Fri, 25 May 2007, Bill Schottstaedt wrote: > Since several people seem to be worrying about disk accesses -- > I think that modern OS's (linux in particular) > automatically cache files in RAM -- what appear to be disk ops are > actually references to memory. In the bad old days you had to use > mmap or something -- I forget how it used to work. > This info itself may be out-of-date -- I am not an OS wizard! > > My first thought when I hear about dropouts is not "disk ops", but > "garbage collection", and then "X server traffic", and then "some > background process". I believe the latter is one thing that > Fernando's real-time kernel deals with. And Motif generates > at least an order of magnitude less X traffic than Gtk. > As I say, I don't actually know anything... > Yes, garbage collecting and gtk traffic is what I have found to be the two largest causes for dropouts in snd as well. But if the sound processing had been handled in a seperate high priority thread instead, it would have been possible to increase buffer size without getting high response time as well, which is what the instrument does. The instrument does use some more memory though, but memory is cheap. From michael at klingbeil.com Fri May 25 08:21:43 2007 From: michael at klingbeil.com (Michael Klingbeil) Date: Fri, 25 May 2007 11:21:43 -0400 Subject: [CM] sound-loop-info / mus_sound_loop_info In-Reply-To: <20070525133724.M87436@ccrma.Stanford.EDU> References: <20070524222930.M21394@ccrma.Stanford.EDU> <20070525004711.M49210@ccrma.Stanford.EDU> <20070525133724.M87436@ccrma.Stanford.EDU> Message-ID: I would agree that reading every sample twice is not ideal. It is of course possible to avoid that by just reading the new samples and shifting the old ones over (or to completely avoid copying by using a circular buffer). The buffering code becomes more complicated. I tried getting/setting mus-increment on a file->frame gen but it doesn't seem to support that. CM> (setf x (make-file->frame "source:pno;18-pno01A0.aif")) #frame: fil: source:pno;18-pno01A0.aif> CM> x #frame: fil: source:pno;18-pno01A0.aif> CM> (mus-increment x) No applicable method for args: (#frame: fil: source:pno;18-pno01A0.aif>) to # [Condition of type SIMPLE-ERROR] Barring a reworking of the buffer mechanism that supports multi-direction reading, I guess it would be nice if file->frame, file->sample, etc. would support mus-increment. At 6:48 AM -0700 5/25/07, Bill Schottstaedt wrote: > > newloc = (int)(samp - (gen->file_buffer_size * .5)); > >Thanks for the interesting suggestion. The original plan was that >readin would handle that kind of operation, setting the "dir" field -- >this is the same, I think, as using the mus-increment function >with the file->frame generator, as you mention. I'd rather not >make the change you suggest because it means that every sample >is read twice ("read" here can include data type conversions, etc). >Does mus-increment fix the problem? > >> Also, just curious why is the file descriptor opened/closed every >> time the buffer is refilled? Wouldn't this be a performance hit? > >I didn't see any difference in my timing tests, and the current way >avoids any OS limits on open files, and is cleaner if something >goes wrong -- if a computation is interrupted (say you hit a bug >during instrument development), you don't have to worry about >dangling files, and at least some portion of your output is probably >saved. > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Fri May 25 10:24:47 2007 From: taube at uiuc.edu (Rick Taube) Date: Fri, 25 May 2007 12:24:47 -0500 Subject: [CM] problem with playing cm generated midi on mac pro intel, osx 10.4 In-Reply-To: <2B2B3A80BAD4524B967E9A6D846E427701CA5B60@NERHEX01.btnrh.boystown.org> References: <2B2B3A80BAD4524B967E9A6D846E427701CA5B60@NERHEX01.btnrh.boystown.org> Message-ID: <19CBAED9-249B-40C6-9E4D-933D02A17CD1@uiuc.edu> pretty sure this is not a cm issue. if i understand ti, cm writes the file 1 time, then when you play it the first time its bunched together the second not. so the issue is with your midi player, not the file (or it wouldn't sound correctly the second time) you might try using timidity, or look at the contents of intro.mid in a sequencer just to make sure. On May 24, 2007, at 10:28 AM, Fitzpatrick, Denis F wrote: > I?m a common music on the mac newbie, and this may not be a common > music question, per se. > > > > When playing a cm generated midi file, for example, from the line: > > (events (sinus 80 4 20 100 .1 .1 .6) "intro.mid" :versioning true) > > in the tutorial intro.lisp, the first few notes of the file are > bunched together and played as a chord. > > This is also the case in playing the generated file outside cm with > Quicktime the first time. However, when playing it again (i.e., > without closing Quicktime), it plays as I believe it should. Any > ideas? > > > > Thanks. > > > > Denis Fitzpatrick > > > > > > From bil at ccrma.Stanford.EDU Fri May 25 11:09:44 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 25 May 2007 11:09:44 -0700 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <20070525120712.M18418@ccrma.Stanford.EDU> Message-ID: <46572668.6080007@ccrma> > I suppose if I have a go with the docs I can work out how to use Snd as a batchable Music V engine? I hope so. In terms of with-sound and clm, if anything you can do more in Snd than in CL. The error handling in Snd is much better than in any of the lisps except maybe ACL (Common Lisp debuggers are much worse than you can imagine, and no attempt is ever made to help with foreign functions -- you sometimes can't even use gdb). CL/CLM is still about twice as fast -- I only ran "Phrygians" through both, but someday I'll have time to make a more comprehensive comparison. But that speed up is swamped by the time you'll spend tearing your hair and cursing if you ever make a typo or any mistake of any kind. Whenever I launch into some new project, I use Snd (rather than CL) without even a second thought. Once developed, the code is very easy to translate from Scheme to CL -- they are almost the same language and CLM is fully supported in both. clm23.scm has a list of the differences. From juanig at ccrma.Stanford.EDU Fri May 25 11:19:14 2007 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Fri, 25 May 2007 14:19:14 -0400 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> Message-ID: <1180117154.30037.39.camel@strawberry> Hi Joe, > Ok, so the existential bit. . . > On the so existential bit, Few days ago I was with some visual and image processing crowd and seems that now all they want is 'command line', makefiles and Don Knuth's 'Art of Computer Programming'. No mo' mice interaction! > > Is it best to go just press ahead with CM.app? Again, any help for > pointers on getting up to speed (tutorials!) with working with clm? > First steps into SND: http://ccrma.stanford.edu/guides/planetccrma/SND.html Scheme is great! --* Juan Reyes From edeleflie at gmail.com Fri May 25 23:39:46 2007 From: edeleflie at gmail.com (e deleflie) Date: Sat, 26 May 2007 16:39:46 +1000 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <1180117154.30037.39.camel@strawberry> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <1180117154.30037.39.camel@strawberry> Message-ID: <9a471d320705252339u6efd2a0fm143c34e85a101a19@mail.gmail.com> I have to concur that Scheme is good .... I'm a Java/Ruby/Python developer, and at first Scheme really baffled me, then I realised that it's just function calls within brackets (and lists), and now I'm sailing through the code... (feels like a really simple language to learn) Etienne On 5/26/07, Juan I Reyes wrote: > Hi Joe, > > > Ok, so the existential bit. . . > > > > On the so existential bit, > > Few days ago I was with some visual and image processing crowd and seems > that now all they want is 'command line', makefiles and Don Knuth's 'Art > of Computer Programming'. No mo' mice interaction! > > > > > Is it best to go just press ahead with CM.app? Again, any help for > > pointers on getting up to speed (tutorials!) with working with clm? > > > First steps into SND: > http://ccrma.stanford.edu/guides/planetccrma/SND.html > > Scheme is great! > > --* Juan Reyes > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From k.s.matheussen at notam02.no Sat May 26 08:21:47 2007 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Sat, 26 May 2007 17:21:47 +0200 (CEST) Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <46572668.6080007@ccrma> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <20070525120712.M18418@ccrma.Stanford.EDU> <46572668.6080007@ccrma> Message-ID: On Fri, 25 May 2007, Bill Schottstaedt wrote: >> I suppose if I have a go with the docs I can work out how to use Snd as a >> batchable Music V engine? > > I hope so. In terms of with-sound and clm, if anything you can do more in > Snd > than in CL. The error handling in Snd is much better than in any of the > lisps > except maybe ACL (Common Lisp debuggers are much worse than you can imagine, > and no > attempt is ever made to help with foreign functions -- you sometimes can't > even > use gdb). CL/CLM is still about twice as fast -- I only ran "Phrygians" > through > both, but someday I'll have time to make a more comprehensive comparison. > But that speed up is swamped by the time you'll spend tearing your hair and > cursing if you ever make a typo or any mistake of any kind. Whenever I > launch > into some new project, I use Snd (rather than CL) without even a second > thought. > Once developed, the code is very easy to translate from Scheme to CL -- they > are > almost the same language and CLM is fully supported in both. clm23.scm has a > list of the differences. > The rt-compiler can be used in non-realtime as well, although the language is not as nice as scheme or common lisp. But it should be faster than both though, in case extreme speed is necesarry using snd for running clm. (define (gen-sin duration freq) (let ((v (make-vct (* (mus-srate) duration) 0.0)) (osc (make-oscil :frequency freq))) ((rt-func (lambda () (vct-map! v (lambda () (* 0.8 (oscil osc))))))) (run (lambda () (do ((i 0 (1+ i))) ((= i (vct-length v))) (outa i (vct-ref v i) *output*)))))) (with-sound (:output "/tmp/ai.snd" :srate 44100 :to-snd #f) (gen-sin 5 440)) The generated c code for the inner loop of the above code looks like this: while (!((rt_gen2__3 == rt_gen1__1->length))) { rt_gen1__1->data[rt_gen2__3] = ((0.8 * mus_oscil(rt_globals->osc__4, 0, 0))); rt_gen2__3++; }; From k.s.matheussen at notam02.no Sat May 26 09:17:19 2007 From: k.s.matheussen at notam02.no (Kjetil S. Matheussen) Date: Sat, 26 May 2007 18:17:19 +0200 (CEST) Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <20070525120712.M18418@ccrma.Stanford.EDU> <46572668.6080007@ccrma> Message-ID: On Sat, 26 May 2007, Kjetil S. Matheussen wrote: > The rt-compiler can be used in non-realtime as well, although the language is > not as nice as scheme or common lisp. But it should be faster than both > though, in case extreme speed is necesarry using snd for running clm. > Well, on second thought, its probably not significantly faster or slower than running clm in common lisp. From luke at balooga.com Sat May 26 10:35:08 2007 From: luke at balooga.com (Luke J Crook) Date: Sat, 26 May 2007 10:35:08 -0700 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <46572668.6080007@ccrma> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <20070525120712.M18418@ccrma.Stanford.EDU> <46572668.6080007@ccrma> Message-ID: <46586FCC.2060801@balooga.com> Bill Schottstaedt wrote: > I hope so. In terms of with-sound and clm, if anything you can do more > in Snd than in CL. The error handling in Snd is much better than in any of the > lisps except maybe ACL (Common Lisp debuggers are much worse than you can > imagine, and no attempt is ever made to help with foreign functions -- you sometimes > can't even use gdb). It's not that bad, surely? It isn't possible to trace through the foreign function from Lisp, but I have found that (Lispworks/SBCL) + (SLIME+CFFI) provide sufficient feedback in the wrappers I've written for SDL and OpenRM. - Luke From bil at ccrma.Stanford.EDU Sat May 26 15:13:48 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 26 May 2007 15:13:48 -0700 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <46586FCC.2060801@balooga.com> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <20070525120712.M18418@ccrma.Stanford.EDU> <46572668.6080007@ccrma> <46586FCC.2060801@balooga.com> Message-ID: <20070526220322.M25343@ccrma.Stanford.EDU> > It's not that bad, surely? Try cmucl under gdb: /home/bil/clm/ gdb /home/bil/test/cmucl/bin/lisp Using host libthread_db library "/lib/i686/nosegneg/libthread_db.so.1". (gdb) run Starting program: /home/bil/test/cmucl/bin/lisp CMU Common Lisp 19d (19D), running on fatty3 With core: /home/bil/test/cmucl/lib/cmucl/lib/lisp.core Dumped on: Wed, 2006-11-15 18:43:04-08:00 on lorien See for support information. Loaded subsystems: Python 1.1, target Intel x86 CLOS based on Gerd's PCL 2004/04/14 03:32:47 * (load "all.lisp") ; Loading #P"/home/bil/clm/all.lisp". ; using existing configuration file mus-config.h ;; Loading #P"/home/bil/clm/clm-package.x86f". ;; Loading #P"/home/bil/clm/initmus.x86f". ;;; Opening as shared library /home/bil/clm/libclm.so ... ;;; Done. ;; Loading #P"/home/bil/clm/sndlib2clm.x86f". ;; Loading #P"/home/bil/clm/defaults.x86f". ;; Loading #P"/home/bil/clm/ffi.x86f". ;; Loading #P"/home/bil/clm/mus.x86f". ;; Loading #P"/home/bil/clm/run.x86f". Program received signal SIGSEGV, Segmentation fault. 0x11239e8d in ?? () (gdb) where #0 0x11239e8d in ?? () #1 0x581025e3 in ?? () #2 0x581026db in ?? () etc. In previous times, it would run, but the stack trace was garbage. Not to belabor this, but you should try Clisp's backtrace sometime; if suffering is the path to wisdom... From fitzpatrickd at boystown.org Sun May 27 10:53:02 2007 From: fitzpatrickd at boystown.org (Fitzpatrick, Denis F) Date: Sun, 27 May 2007 12:53:02 -0500 Subject: [CM] problem with playing cm generated midi on mac pro intel, osx 10.4 References: <2B2B3A80BAD4524B967E9A6D846E427701CA5B60@NERHEX01.btnrh.boystown.org> <19CBAED9-249B-40C6-9E4D-933D02A17CD1@uiuc.edu> Message-ID: <2B2B3A80BAD4524B967E9A6D846E4277014A8C38@NERHEX01.btnrh.boystown.org> Yes, you are correct. I found the problem went away when I changed my system sound output preference from the aggregate input and output (full duplex) to the Built-In Line Output. Apparently an issue to intel mac users in other contexts as well. Thanks for your response. -----Original Message----- From: Rick Taube [mailto:taube at uiuc.edu] Sent: Fri 5/25/2007 12:24 PM To: Fitzpatrick, Denis F Cc: cmdist at ccrma.Stanford.EDU Subject: Re: [CM] problem with playing cm generated midi on mac pro intel, osx 10.4 pretty sure this is not a cm issue. if i understand ti, cm writes the file 1 time, then when you play it the first time its bunched together the second not. so the issue is with your midi player, not the file (or it wouldn't sound correctly the second time) you might try using timidity, or look at the contents of intro.mid in a sequencer just to make sure. On May 24, 2007, at 10:28 AM, Fitzpatrick, Denis F wrote: > I'm a common music on the mac newbie, and this may not be a common > music question, per se. > > > > When playing a cm generated midi file, for example, from the line: > > (events (sinus 80 4 20 100 .1 .1 .6) "intro.mid" :versioning true) > > in the tutorial intro.lisp, the first few notes of the file are > bunched together and played as a chord. > > This is also the case in playing the generated file outside cm with > Quicktime the first time. However, when playing it again (i.e., > without closing Quicktime), it plays as I believe it should. Any > ideas? > > > > Thanks. > > > > Denis Fitzpatrick > > > > > > From fitzpatrickd at boystown.org Sun May 27 12:07:48 2007 From: fitzpatrickd at boystown.org (Fitzpatrick, Denis F) Date: Sun, 27 May 2007 14:07:48 -0500 Subject: [CM] problem while executing loop.cm from .. Metalevel Message-ID: <2B2B3A80BAD4524B967E9A6D846E4277014A8C3B@NERHEX01.btnrh.boystown.org> When I evaluate the following (from loop.cm in Notes from the Metalevel) (loop for i below 4 for j from 100 by -10 for k = (random 100) collect (list i j k)) I get the following error message and backtrace: (apparently doesn't like the negative) The value -10 is not of type (OR (SINGLE-FLOAT (0.0)) (DOUBLE-FLOAT (0.0d0)) (RATIONAL (0))). [Condition of type TYPE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (SB-C::%COMPILE-TIME-TYPE-ERROR (-10) (OR (SINGLE-FLOAT (0.0)) (DOUBLE-FLOAT (0.0d0)) (RATIONAL (0))) #) 1: (NIL) 2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOOP FOR I BELOW 4 FOR J FROM 100 BY ...) #) 3: ((LAMBDA ())) 4: ((LAMBDA (SWANK-BACKEND::FN)) #) 5: (SWANK::CALL-WITH-BUFFER-SYNTAX #) 6: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:INTERACTIVE-EVAL "(loop for i below 4 for j from 100 by -10 for k = (random 100) collect (list i j k)) ") #) 7: ((LAMBDA ())) 8: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # #) 9: ((LAMBDA ())) 10: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # #) 11: (SWANK::CALL-WITH-REDIRECTED-IO # #) 12: (SWANK::CALL-WITH-CONNECTION # #) 13: (SWANK::HANDLE-REQUEST #) 14: (SWANK::PROCESS-AVAILABLE-INPUT # #) 15: ((FLET SWANK::HANDLER)) 16: ((LAMBDA (SWANK-BACKEND::_)) #) 17: (SB-IMPL::SUB-SERVE-EVENT NIL 0) 18: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) 19: (SB-IMPL::REFILL-BUFFER/FD #) 20: (SB-IMPL::INPUT-CHAR/UTF-8 # NIL #:EOF-OBJECT) 21: (READ-CHAR # NIL #:EOF-OBJECT #) 22: (READ-CHAR # NIL #:EOF-OBJECT #) 23: (READ-PRESERVING-WHITESPACE # NIL (NIL) T) 24: (READ-PRESERVING-WHITESPACE # NIL (NIL) NIL) 25: (READ # NIL (NIL) NIL) 26: (SB-IMPL::REPL-READ-FORM-FUN # #) 27: (SB-IMPL::REPL-FUN NIL) 28: ((LAMBDA ())) 29: ((LAMBDA ())) 30: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #) 31: (SB-IMPL::TOPLEVEL-REPL NIL) 32: (SB-IMPL::TOPLEVEL-INIT) 33: ((LABELS SB-IMPL::RESTART-LISP)) From fitzpatrickd at boystown.org Sun May 27 12:08:06 2007 From: fitzpatrickd at boystown.org (Fitzpatrick, Denis F) Date: Sun, 27 May 2007 14:08:06 -0500 Subject: [CM] problem while executing loop.cm from .. Metalevel Message-ID: <2B2B3A80BAD4524B967E9A6D846E4277014A8C3C@NERHEX01.btnrh.boystown.org> When I evaluate the following (from loop.cm in Notes from the Metalevel) (loop for i below 4 for j from 100 by -10 for k = (random 100) collect (list i j k)) I get the following error message and backtrace: (apparently doesn't like the negative) The value -10 is not of type (OR (SINGLE-FLOAT (0.0)) (DOUBLE-FLOAT (0.0d0)) (RATIONAL (0))). [Condition of type TYPE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (SB-C::%COMPILE-TIME-TYPE-ERROR (-10) (OR (SINGLE-FLOAT (0.0)) (DOUBLE-FLOAT (0.0d0)) (RATIONAL (0))) #) 1: (NIL) 2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOOP FOR I BELOW 4 FOR J FROM 100 BY ...) #) 3: ((LAMBDA ())) 4: ((LAMBDA (SWANK-BACKEND::FN)) #) 5: (SWANK::CALL-WITH-BUFFER-SYNTAX #) 6: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:INTERACTIVE-EVAL "(loop for i below 4 for j from 100 by -10 for k = (random 100) collect (list i j k)) ") #) 7: ((LAMBDA ())) 8: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # #) 9: ((LAMBDA ())) 10: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # #) 11: (SWANK::CALL-WITH-REDIRECTED-IO # #) 12: (SWANK::CALL-WITH-CONNECTION # #) 13: (SWANK::HANDLE-REQUEST #) 14: (SWANK::PROCESS-AVAILABLE-INPUT # #) 15: ((FLET SWANK::HANDLER)) 16: ((LAMBDA (SWANK-BACKEND::_)) #) 17: (SB-IMPL::SUB-SERVE-EVENT NIL 0) 18: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) 19: (SB-IMPL::REFILL-BUFFER/FD #) 20: (SB-IMPL::INPUT-CHAR/UTF-8 # NIL #:EOF-OBJECT) 21: (READ-CHAR # NIL #:EOF-OBJECT #) 22: (READ-CHAR # NIL #:EOF-OBJECT #) 23: (READ-PRESERVING-WHITESPACE # NIL (NIL) T) 24: (READ-PRESERVING-WHITESPACE # NIL (NIL) NIL) 25: (READ # NIL (NIL) NIL) 26: (SB-IMPL::REPL-READ-FORM-FUN # #) 27: (SB-IMPL::REPL-FUN NIL) 28: ((LAMBDA ())) 29: ((LAMBDA ())) 30: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #) 31: (SB-IMPL::TOPLEVEL-REPL NIL) 32: (SB-IMPL::TOPLEVEL-INIT) 33: ((LABELS SB-IMPL::RESTART-LISP)) From rm at seid-online.de Sun May 27 12:21:50 2007 From: rm at seid-online.de (Ralf Mattes) Date: Sun, 27 May 2007 21:21:50 +0200 Subject: [CM] problem while executing loop.cm from .. Metalevel In-Reply-To: <2B2B3A80BAD4524B967E9A6D846E4277014A8C3C@NERHEX01.btnrh.boystown.org> References: <2B2B3A80BAD4524B967E9A6D846E4277014A8C3C@NERHEX01.btnrh.boystown.org> Message-ID: <1180293710.6556.5.camel@localhost.localdomain> On Sun, 2007-05-27 at 14:08 -0500, Fitzpatrick, Denis F wrote: > When I evaluate the following (from loop.cm in Notes from the Metalevel) > > (loop for i below 4 > for j from 100 by -10 > for k = (random 100) > collect (list i j k)) This is invalid Common Lisp - some Lisps _do_ tollerate it but SBCL (which you seem to use doesn't). > I get the following error message and backtrace: > (apparently doesn't like the negative) No - and with reason ;-) A little bit of Google should bring you to a c.l.l thread ... You can fix your code by using 'downfrom 100 by 10'. HTH Ralf Mattes > > The value -10 > is not of type > (OR (SINGLE-FLOAT (0.0)) (DOUBLE-FLOAT (0.0d0)) (RATIONAL (0))). > [Condition of type TYPE-ERROR] > > Restarts: > 0: [ABORT-REQUEST] Abort handling SLIME request. > 1: [ABORT] Exit debugger, returning to top level. > Backtrace: > 0: (SB-C::%COMPILE-TIME-TYPE-ERROR (-10) (OR (SINGLE-FLOAT (0.0)) > (DOUBLE-FLOAT (0.0d0)) (RATIONAL (0))) #) > 1: (NIL) > 2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOOP FOR I BELOW 4 FOR J FROM 100 BY ...) > #) > 3: ((LAMBDA ())) > 4: ((LAMBDA (SWANK-BACKEND::FN)) #) > 5: (SWANK::CALL-WITH-BUFFER-SYNTAX #) > 6: (SB-INT:SIMPLE-EVAL-IN-LEXENV > (SWANK:INTERACTIVE-EVAL "(loop for i below 4 > for j from 100 by -10 > for k = (random 100) > collect (list i j k)) > ") > #) > 7: ((LAMBDA ())) > 8: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # SWANK:SWANK-DEBUGGER-HOOK> #) > 9: ((LAMBDA ())) > 10: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) # SWANK:SWANK-DEBUGGER-HOOK> #) > 11: (SWANK::CALL-WITH-REDIRECTED-IO # > #) > 12: (SWANK::CALL-WITH-CONNECTION # # (LAMBDA #) {117BAA5D}>) > 13: (SWANK::HANDLE-REQUEST #) > 14: (SWANK::PROCESS-AVAILABLE-INPUT # string" {124BF2F9}> #) > 15: ((FLET SWANK::HANDLER)) > 16: ((LAMBDA (SWANK-BACKEND::_)) #) > 17: (SB-IMPL::SUB-SERVE-EVENT NIL 0) > 18: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) > 19: (SB-IMPL::REFILL-BUFFER/FD # {115D8709}>) > 20: (SB-IMPL::INPUT-CHAR/UTF-8 # {115D8709}> NIL #:EOF-OBJECT) > 21: (READ-CHAR # NIL > #:EOF-OBJECT #) > 22: (READ-CHAR # NIL > #:EOF-OBJECT #) > 23: (READ-PRESERVING-WHITESPACE # {100CADA1}> NIL (NIL) T) > 24: (READ-PRESERVING-WHITESPACE # {100CADA1}> NIL (NIL) NIL) > 25: (READ # NIL (NIL) NIL) > 26: (SB-IMPL::REPL-READ-FORM-FUN # {100CADA1}> #) > 27: (SB-IMPL::REPL-FUN NIL) > 28: ((LAMBDA ())) > 29: ((LAMBDA ())) > 30: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #) > 31: (SB-IMPL::TOPLEVEL-REPL NIL) > 32: (SB-IMPL::TOPLEVEL-INIT) > 33: ((LABELS SB-IMPL::RESTART-LISP)) > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From luke at balooga.com Sun May 27 16:59:32 2007 From: luke at balooga.com (Luke J Crook) Date: Sun, 27 May 2007 16:59:32 -0700 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <20070526220322.M25343@ccrma.Stanford.EDU> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <20070525120712.M18418@ccrma.Stanford.EDU> <46572668.6080007@ccrma> <46586FCC.2060801@balooga.com> <20070526220322.M25343@ccrma.Stanford.EDU> Message-ID: <465A1B64.4050104@balooga.com> Bill Schottstaedt wrote: > > In previous times, it would run, but the stack trace was garbage. > Not to belabor this, but you should try Clisp's backtrace sometime; > if suffering is the path to wisdom... The error reporting in CLISP does leave a lot to the imagination. That's why I've taken to writing my code in SBCL and then testing in Lispworks and CLISP. I used to do it the other way around and I nearly gave up on Lisp as a result. I don't expect the Lisp stack traces to be worth much when calling foreign functions. SBCL usually generates a "Stack Frame Error" when one of my FFI calls clobbers the stack. The stack trace returns the last foreign call executed which helps somewhat. But I was bitten by a bug a few days ago that was a result of a round trip from Lisp to a foreign library, a callback back into Lisp, ending up in a GC call. "Stack Frame Error" didn't help much here though. - Luke From edeleflie at gmail.com Sun May 27 19:37:06 2007 From: edeleflie at gmail.com (e deleflie) Date: Mon, 28 May 2007 12:37:06 +1000 Subject: [CM] file ops In-Reply-To: <20070525135728.M3860@ccrma.Stanford.EDU> References: <20070525135728.M3860@ccrma.Stanford.EDU> Message-ID: <9a471d320705271937t4d564f02m57852f85eabe7548@mail.gmail.com> On 5/26/07, Bill Schottstaedt wrote: > Since several people seem to be worrying about disk accesses -- > I think that modern OS's (linux in particular) > automatically cache files in RAM -- what appear to be disk ops are > actually references to memory. In the bad old days you had to use > mmap or something -- I forget how it used to work. > This info itself may be out-of-date -- I am not an OS wizard! from my limited experience processing large video files in real-time (in Linux), the files are definately cached in RAM... but they have to be read first. That means that the first time they are read, the process is disk-bound, and the second, third etc. time, they are in RAM. So if doing tests on these things, only the first result is correct. After that, the RAM cache has to be emptied. I used to find that the best testing strategy was to use 2 files (large engouh to fill the RAN cache) and toggle between the 2. I used to use a software called jMAX (by IRCAM). From memory, I believe they had disk access system that automatically managed how disks were read, specifically for real-time applications to avoid interrupts and drop outs. The project is more or less dead now, but unless I'm mistaken, that code should be here: http://jmax.cvs.sourceforge.net/jmax/jmax/packages/unixdtd/c/src/ (no idea if that's useful) Etienne From lievenmoors at hotmail.com Mon May 28 07:29:49 2007 From: lievenmoors at hotmail.com (Lieven Moors) Date: Mon, 28 May 2007 16:29:49 +0200 Subject: [CM] sequence objects feature requests Message-ID: I was wondering if it would be a good idea to add a :versioning and :version slot to the seq object.This would allow saving lots of sequence objects with the save-object method whithout specifyinga new name every time.Another thing I thought might be handy, is having an :end slot for the sequence object. This would make sequencing with sequences easier. It can be computed from the elements it contains.Correct me if these are silly suggestions...regardslieven -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Mon May 28 08:50:09 2007 From: taube at uiuc.edu (taube at uiuc.edu) Date: Mon, 28 May 2007 10:50:09 -0500 (CDT) Subject: [CM] sequence objects feature requests Message-ID: <20070528105009.APB84470@expms6.cites.uiuc.edu> > I was wondering if it would be a good idea to add a :versioning and > :version slot to the seq object. > This would allow saving lots of sequence objects with the save-object > method whithout specifying a new name every time. it woudl be easy to add a :newname arg (or whatever) to save-object that would cause the saved version to have a unique name: (save-object #&foo "foo.seq" :newname #t) > Another thing I thought might be handy, is having an :end slot for the > sequence object. This would make sequencing with sequences easier. It > can be computed from the elements it contains. not sure i understand this one -- what does :end hold and what operations will it make easier for you to perform? From lievenmoors at hotmail.com Mon May 28 14:10:13 2007 From: lievenmoors at hotmail.com (Lieven Moors) Date: Mon, 28 May 2007 23:10:13 +0200 Subject: FW: [CM] sequence objects feature requests Message-ID: From: lievenmoors at hotmail.comTo: taube at uiuc.eduSubject: RE: [CM] sequence objects feature requestsDate: Mon, 28 May 2007 18:56:07 +0200 I make a lot of sequences with a starttime of zero. Later on in the process, I want to line them up in a certain order. It turns out that for all these operations, I need to know the length of a sequence. When I want to put one after the other, I have to calculate the length of the first one. Then I can easily put the start of one sequence to the end of another.The only problem is that the length of the last midi-note of a sequence, is determined by the first midi-note inthe next, which makes it impossible to determine the length. I already made a subclass of seq, with an end slot. When I make a musical structure, I set :end to how long I want the sequence to be. After that I can treat them as blocks. When I make a sequence of sequences, the length becomes the sum of the lengths of the subsequences. This makes shuffling very easy as well.I know this might sound confusing, but it is funny that you can' t handle a sequence like for examplean audio file. I don't know, maybe this sounds silly...maybe the midi-note would need a length as well...> From: taube at uiuc.edu> Subject: Re: [CM] sequence objects feature requests> To: lievenmoors at hotmail.com; cmdist at ccrma.Stanford.EDU> Date: Mon, 28 May 2007 10:50:09 -0500> > > I was wondering if it would be a good idea to add a :versioning and> > :version slot to the seq object.> > This would allow saving lots of sequence objects with the save-object> > method whithout specifying a new name every time.> > it woudl be easy to add a :newname arg (or whatever) to save-object that would cause the saved version to have a unique name:> > (save-object #&foo "foo.seq" :newname #t)> > > Another thing I thought might be handy, is having an :end slot for the> > sequence object. This would make sequencing with sequences easier. It> > can be computed from the elements it contains.> > not sure i understand this one -- what does :end hold and what operations will it make easier for you to perform?> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.anderson at hull.ac.uk Tue May 29 07:00:19 2007 From: j.anderson at hull.ac.uk (Joseph Anderson) Date: Tue, 29 May 2007 15:00:19 +0100 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <1180117154.30037.39.camel@strawberry> Message-ID: Thanks all. I'll start poking about with SND and see where I get. Best, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dr Joseph Anderson Lecturer in Music School of Arts and New Media University of Hull, Scarborough Campus, Scarborough, North Yorkshire, YO11 3AZ, UK T: +44.(0)1723.357341 T: +44.(0)1723.357370 F: +44.(0)1723.350815 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On 25/5/07 7:19 pm, "Juan I Reyes" wrote: > Hi Joe, > >> Ok, so the existential bit. . . >> > > On the so existential bit, > > Few days ago I was with some visual and image processing crowd and seems > that now all they want is 'command line', makefiles and Don Knuth's 'Art > of Computer Programming'. No mo' mice interaction! > >> >> Is it best to go just press ahead with CM.app? Again, any help for >> pointers on getting up to speed (tutorials!) with working with clm? >> > First steps into SND: > http://ccrma.stanford.edu/guides/planetccrma/SND.html > > Scheme is great! > > --* Juan Reyes > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist ***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** From akopec at chopin.edu.pl Tue May 29 09:02:39 2007 From: akopec at chopin.edu.pl (Andrzej Kopec) Date: Tue, 29 May 2007 18:02:39 +0200 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <1180117154.30037.39.camel@strawberry> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <1180117154.30037.39.camel@strawberry> Message-ID: <20070529160239.GA4933@localhost.chopin.edu.pl> Hi all, It's my first post on this list, so sorry for possible "offtopicness". I'm a newbe in Snd & co. I compiled snd with ruby support and I wonder if that was a good decision. I want to ask whether snd-ruby has same possibilities as guile version? I suppose there is nothing like rt_compile in my snd-ruby; also I wonder if something like snd-ls is achievable with ruby? Or 3D spectrogram from the manual (grfsnd.html)? Main question is: if I stay with ruby (which is IMHO easier to understand) won't I miss any functionality? What with connection to cm/cmn? I must admit that at this point I start playing with fomus, so maybe I should switch to scheme/lisp? TiA ak:) On Fri, May 25, 2007 at 02:19:14PM -0400, Juan I Reyes wrote: > Scheme is great! From bil at ccrma.Stanford.EDU Tue May 29 14:22:50 2007 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 29 May 2007 14:22:50 -0700 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <20070529160239.GA4933@localhost.chopin.edu.pl> References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <1180117154.30037.39.camel@strawberry> <20070529160239.GA4933@localhost.chopin.edu.pl> Message-ID: <20070529211245.M18754@ccrma.Stanford.EDU> > I want to ask whether snd-ruby has same > possibilities as guile version? I suppose there is nothing like > rt_compile in my snd-ruby; also I wonder if something like snd-ls is > achievable with ruby? Or 3D spectrogram from the manual (grfsnd.html)? > > Main question is: if I stay with ruby (which is IMHO easier to > understand) won't I miss any functionality? What with connection to > cm/cmn? Mike Scholz is the expert, but I can make a few vague comments. The 3D graphics only depends on opengl -- the picture in grfsnd.html was made using the transform dialog and the two color/orientation dialogs. Most of the scheme stuff exists in ruby, so I don't think you'll find any missing functionality, and having active ruby-snd users will certainly help us find any we've missed! cm is currently scheme/lisp specific, but I think the cmn section that Snd uses does work -- the music notation symbols are in musglyphs.rb. I don't think rt-compile exists for ruby, but there was an "inline" package of some kind that Mike made for sndlib/clm. I personally use scheme, mainly out of lumpish habit -- I've been writing lisp code for about 3 decades, so it has become second nature. But Mike and I do want the other two versions of Snd (Forth and Ruby) to be just as useful, so I'd encourage you to go ahead. From mi-scholz at users.sourceforge.net Wed May 30 15:53:06 2007 From: mi-scholz at users.sourceforge.net (Michael Scholz) Date: Thu, 31 May 2007 00:53:06 +0200 Subject: [CM] Newbie learning. . . . CM / CLM-3 / SND / Scheme??? In-Reply-To: <20070529160239.GA4933@localhost.chopin.edu.pl> (Andrzej Kopec's message of "Tue\, 29 May 2007 18\:02\:39 +0200") References: <9a471d320705171826v566c10b1l4dfadfb4c0889b7a@mail.gmail.com> <20070518132341.M98875@ccrma.Stanford.EDU> <9a471d320705212116n5d5eae43x69a642782f579c58@mail.gmail.com> <9a471d320705220043o57833121k693018341dd0b535@mail.gmail.com> <20070522113139.M79093@ccrma.Stanford.EDU> <131f0ea00705221657t27e972a6vdc8f70f78e25ef97@mail.gmail.com> <1180117154.30037.39.camel@strawberry> <20070529160239.GA4933@localhost.chopin.edu.pl> Message-ID: <86bqg1x6st.fsf@Lerche.Socrates> Hi, Andrzej! > I'm a newbe in Snd & co. I compiled snd with ruby support and I wonder > if that was a good decision. I want to ask whether snd-ruby has same > possibilities as guile version? I suppose there is nothing like > rt_compile in my snd-ruby; also I wonder if something like snd-ls is > achievable with ruby? Or 3D spectrogram from the manual (grfsnd.html)? Nearly the full functionality of snd-guile can you expect with snd-ruby. For real time action you may check out the RubyInline package from Ryan Davis (http://rubyforge.org/projects/rubyinline/). You may find translation examples guile->ruby in *.rb files. If you find bugs in any *.rb file or you have special needs, please let me know, though at the time I have no running snd-ruby, but that's a different story. Mike From andersvi at extern.uio.no Thu May 31 03:40:50 2007 From: andersvi at extern.uio.no (andersvi at extern.uio.no) Date: 31 May 2007 12:40:50 +0200 Subject: [CM] Announce: MAMMUT v.0.59 Message-ID: -------------------- Start of forwarded message -------------------- Delivery-date: Thu, 31 May 2007 12:20:01 +0200 Date: Thu, 31 May 2007 12:20:00 +0200 From: asbjorn blokkum flo To: Anders Vinjar Subject: mammut -------------- next part -------------- NOTAM Nedre gate 5 N-0551 Oslo Norway *FOR IMMEDIATE RELEASE* Contact Information: Company name: NOTAM email address: admin at notam02.no NOTAM Web site address: http://www.notam02.no/notam02/english.html Mammut Web site address: http://www.notam02.no/notam02/prod-prg-mammut-e.html Telephone: (+47) 22 35 80 60 Fax: (+47) 22 35 80 61 *NOTAM releases Mammut version 0.59 free sound processing software. * Oslo, Norway May 30, 2007. NOTAM, the Norwegian production centre for work with sound, has released a new version (0.59) of NOTAMs Mammut software for Mac OSX, Windows and Linux. The new version of this unique frequency-based sound processing software brings performance improvements and major user interaction enhancements. For composers, sound designers, experimental musicians or producers looking for a new approach to sound creation and manipulation, Mammut delivers a unique way of working with sound in the frequency domain. Mammut will do a frequency analysis of your sound in one single gigantic FFT analysis (no windows). These spectral data, where the development in time is incorporated in mysterious ways, may then be transformed by different algorithms. An interesting aspect of Mammut is its completely non-intuitive sound transformation approach. Different transforms can be applied to the spectrum, such as nonlinear stretching, spectrum shift, convolution, filtering and permutation. Mammut is a somewhat unpredictable program, and the user must get used to the idea of loosing control over the time axis. The sonic result is often surprising. However, Mammut is also ideal for standard operations like filtering, spectrum shift and convolution. The no-window approach gives ultimate sound quality. *Mammut version 0.59 features: * - A new approach to sound creation and manipulation in the frequency domain - Unique single gigantic FFT analysis method. - Stretch: Non-linear stretching of the frequency axis. - Wobble: Alternately stretch and contract the frequency axis - Multiply phase: Multiply all phases with the value you specify - Derivate amp: Replaces the amplitude spectrum with its derivative (slope). - Filter: Optimal bandstop filter. The ultimate in cut-off performance! - Invert: Splits the spectrum into regions with specified size, and turn backward. - Threshold: Removes all partials below a given amplitude threshold. - Spectrum Shift: Optimal spectrum shift, with no window artifacts. - Block Swap: Selects randomly positioned regions of the spectrum, and interchange. - Mirror: Reflects the whole spectrum around the frequency you specify. *For more information, visit their web site at: *http://www.notam02.no/notam02/prod-prg-mammut-e.html *Mammut is free, and can be downloaded from: *OSX: http://www.notam02.no/arkiv/macosx/ Windows: http://www.notam02.no/arkiv/windows/ Linux: http://www.notam02.no/arkiv/src/ Mammut: for composers, sound designers, experimental musicians or producers looking for a new approach to sound creation and manipulation in the frequency domain. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- -------------------- End of forwarded message -------------------- From andersvi at extern.uio.no Thu May 31 03:42:55 2007 From: andersvi at extern.uio.no (andersvi at extern.uio.no) Date: 31 May 2007 12:42:55 +0200 Subject: [CM] Announde: DSP02 - Music composition software for children Message-ID: -------------------- Start of forwarded message -------------------- Delivery-date: Thu, 31 May 2007 12:20:10 +0200 Date: Thu, 31 May 2007 12:20:09 +0200 From: asbjorn blokkum flo To: Anders Vinjar Subject: DSP -------------- next part -------------- NOTAM Nedre gate 5 N-0551 Oslo Norway *FOR IMMEDIATE RELEASE * Contact Information: Company name: NOTAM email address: admin at notam02.no NOTAM Web site address: http://www.notam02.no/notam02/english.html DSP2 Web site address: http://www.notam02.no/notam02/prod-prg-dsp02-e.html Telephone: (+47) 22 35 80 60 Fax: (+47) 22 35 80 61 *NOTAM releases DSP02 Version 1.1.1 free music composition software for children. * Oslo, Norway May 30, 2007. NOTAM, the Norwegian production centre for work with sound, has released a new version (1.1.1) of NOTAMs DSP02 software for Mac OSX, Windows, Linux and web-based use. The new version of DSP02 brings performance improvements and user interaction enhancements as well as support for Intel Mac. For educators, composers, musicians, and others working with children, who are looking for a creative, student-oriented method for teaching sound creation and manipulation. DSP02 delivers a simple, user-friendly way of mixing, editing, and sound processing in one package. *DSP2 as a tool for learning* DSP02 is designed for a non-linear approach to composition, and allows students to develop compositions free from musical conventions and stylistic blueprints. The creative impulse is at the center of the tools, which through easy interactivity allows free, non-restricted exploration of what the software tools can be used for. DSP02 is published on a website which also contains a large number of help- and tutorial texts, as well as musical examples and tasks that can be developed by using the provided samples library. This makes the website into a comprehensive educational tool for composition with electronic sound. /DSP02 is particularly well suited for young composers from 5th to 10th grade. / DSP02 includes a large number of synthesis and sound processing tools for various types of sound design, traditional and non-traditional, such as sound editor, mixer, FM synthesis, additive synthesis, time stretch, 4 types of filters, chorus/vibrato/flanger, ring modulation, harmonizer, reverb, delay, formant synthesis, guitar string synthesis, spectral sieve, spectrum shift, and different algorithms for machine composition. *DSP02 is free, and can be downloaded for OSX, Windows and Linux from: *http://www.notam02.no/DSP02/en/index.php?page=317 DSP02 - for educators, composers, musicians, and others working with children, looking for an easy way to learn sound creation and manipulation, DSP2 delivers a simple and user friendly way of working with sound synthesis, sound manipulation and mixing in one package. *For more information, visit their web site at: *http://www.notam02.no/notam02/prod-prg-dsp02-e.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- -------------------- End of forwarded message --------------------