From taube at uiuc.edu Wed Sep 1 06:06:26 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 1 Sep 2010 08:06:26 -0500 Subject: [CM] Compilation problems In-Reply-To: References: Message-ID: <3E89B8CA-DFDD-4353-BAB0-CA950A802F75@uiuc.edu> something has changed in the current s7 (ive been building with one from beginning of august) ill poke around On Aug 31, 2010, at 6:53 PM, Gregory Joyce wrote: > So using the version off of SVN I got this error on my first "make" > > src/CmSupport.cpp: In function ?void cm_print_markov_table(s7_cell*, > s7_cell*, int, int)?: > src/CmSupport.cpp:86:63: error: too few arguments to function > ?s7_cell* s7_object_to_string(s7_scheme*, s7_cell*, bool)? > /usr/include/s7.h:137:12: note: declared here > make[1]: *** [obj/cm/Release/CmSupport.o] Error 1 > make: *** [cm] Error 2 > > I put ",true" into that statement and that got rid of that error. I > have no idea whether that should be "true" or not. > > > When Grace tries to build I get this: > > In file included from src/Main.cpp:37:0: > src/Skin.h: In member function ?virtual void > WindowsSkin::drawPopupMenuBackground(juce::Graphics&, int, int)?: > src/Skin.h:52:47: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:52:47: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:53:49: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:53:49: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h: In member function ?virtual void > WindowsSkin::drawPopupMenuItem(juce::Graphics&, int, int, bool, bool, > bool, bool, bool, const juce::String&, const juce::String&, > juce::Image*, const juce::Colour*)?: > src/Skin.h:69:45: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:69:45: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:84:66: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:84:66: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:85:43: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:85:43: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:89:49: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:89:49: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h: In member function ?virtual void > WindowsSkin::drawMenuBarItem(juce::Graphics&, int, int, int, const > juce::String&, bool, bool, bool, juce::MenuBarComponent&)?: > src/Skin.h:204:51: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:204:51: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:207:51: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:207:51: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:214:62: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:214:62: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:215:39: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:215:39: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h: In member function ?virtual void > WindowsSkin::drawMenuBarBackground(juce::Graphics&, int, int, bool, > juce::MenuBarComponent&)?: > src/Skin.h:230:47: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:230:47: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:232:49: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:232:49: error: for a function-style cast, remove the > redundant ?::Colour? > src/Skin.h:235:49: error: cannot call constructor > ?juce::Colour::Colour? directly > src/Skin.h:235:49: error: for a function-style cast, remove the > redundant ?::Colour? > make[1]: *** [obj/grace/Release/Main.o] Error 1 > make: *** [grace] Error 2 > > Which I have no idea about. Any thoughts? > Thanks > Greg > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Sep 1 07:25:30 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Wed, 1 Sep 2010 09:25:30 -0500 Subject: [CM] cm beta 4 In-Reply-To: References: Message-ID: <0EDC3854-3534-4B69-AFE2-CF31BC0EB6C9@uiuc.edu> ive fixed the nit for the newest s7, updated svn and made a new beta release for osx (beta4) http://camil.music.uiuc.edu/software/grace/Grace-3.7.0-beta4-osx.zip in addition to things compiling with latest s7 this beta contains a new function midifile-header (returns global info about a midifile like num tracks etc) and a much improved version of midifile-import that handles meta message processing and importing multiple types of messages, eg: ; find out what kind of messages are in track 0 midifile-import("/Users/hkt/incline/zincline-1.mid", 0, "op") ;; import the start times, key numbers and durations of all notes in track 1 midifile-import("zincline-1.mid", 1, {"time" "key" "dur"}) ;; import all tempo changes and program changes from track 0 midifile-import("zincline-1.mid", 0, {{"op" "tempo"} {"op" "prog" "chan"}}) see cm.html for docs on both functions From taube at uiuc.edu Thu Sep 2 08:43:46 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Thu, 2 Sep 2010 10:43:46 -0500 Subject: [CM] mouse functions Message-ID: new functions in svn and beta binary: mouse-x mouse-y and mouse- button, which behave almost exactly like their supercollider originals. see cm.html for documentation http://camil.music.uiuc.edu/software/grace/Grace-3.7.0-beta5-osx.zip example: process maus (beat , amp) for x = mouse-x(.1, 1.0) for y = mouse-y(90, 20) for r = beat * x until mouse-button() mp:midi(key: y + between(-3,3), amp: amp, dur: r) wait(r) end sprout(maus(.2, .3)) From taube at uiuc.edu Fri Sep 3 18:57:46 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Fri, 3 Sep 2010 20:57:46 -0500 Subject: [CM] recording Message-ID: <7BE404ED-4DDF-48BA-8D21-3A4589F01D3A@uiuc.edu> ive added a new Midi Out>Recording menu that lets you record anything sent out the port, then play it back, import or save it. http://camil.music.uiuc.edu/software/grace/Grace-3.7.0-beta6-osx.zip From michael.winkler at balcab.ch Tue Sep 7 05:27:29 2010 From: michael.winkler at balcab.ch (Michael Winkler) Date: Tue, 07 Sep 2010 14:27:29 +0200 Subject: [CM] test, ignore please Message-ID: <4C862FB1.9090107@balcab.ch> test From BBattey at dmu.ac.uk Sat Sep 11 08:16:19 2010 From: BBattey at dmu.ac.uk (Bret Battey) Date: Sat, 11 Sep 2010 16:16:19 +0100 Subject: [CM] Using Scheme - FOMUS marks that have arguments References: Message-ID: <37DC19C2180900498561E9489A139796015B5867@ariadne.LEC-ADMIN.dmu.ac.uk> I'm continuing with my Scheme/Grace MIDIfile to Finale conversion project. I would like to use the FOMUS [x string_text] mark on notes, but I haven't been able to figure out how to implement it in the Scheme context. I have a variable 'marks' that I am setting to my mark value before outputting with a send fomus:note command. These are all end up being unrecognizable by FOMUS: (set! mymark '("x "sul pont"") (set! mymark '("x \"sul pont\"") (set! mymark '("x 'sul pont'") (set! mymark '("[x "sul pont"]") Any suggestions? Cheers, -=Bret -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sat Sep 11 09:03:39 2010 From: taube at uiuc.edu (Heinrich Taube) Date: Sat, 11 Sep 2010 11:03:39 -0500 Subject: [CM] Using Scheme - FOMUS marks that have arguments In-Reply-To: <37DC19C2180900498561E9489A139796015B5867@ariadne.LEC-ADMIN.dmu.ac.uk> References: <37DC19C2180900498561E9489A139796015B5867@ariadne.LEC-ADMIN.dmu.ac.uk> Message-ID: <27202EE0-543E-4C46-8919-5EC705725FAF@uiuc.edu> how do i tell fomus to generate a .midi file in addition to a .ly (or .xml) file? sorry but i dont see it in the docs anywhere From dpsenick at gmail.com Sat Sep 11 12:59:15 2010 From: dpsenick at gmail.com (David Psenicka) Date: Sat, 11 Sep 2010 14:59:15 -0500 Subject: [CM] Using Scheme - FOMUS marks that have arguments In-Reply-To: <37DC19C2180900498561E9489A139796015B5867@ariadne.LEC-ADMIN.dmu.ac.uk> References: <37DC19C2180900498561E9489A139796015B5867@ariadne.LEC-ADMIN.dmu.ac.uk> Message-ID: <1284235155.2282.30.camel@fred> I think you probably want '(("x" "sul pont"))--the outer parens is for the entire list of marks and the inner parens is necessary because the mark takes an argument. The next release should have a "sulpont" mark that is automatically paired with an "ord" mark (plus the text for these marks will be customizable, so basically you won't need the nested lists). On Sat, 2010-09-11 at 16:16 +0100, Bret Battey wrote: > > I'm continuing with my Scheme/Grace MIDIfile to Finale conversion > project. I would like to use the FOMUS [x string_text] mark on notes, > but I haven't been able to figure out how to implement it in the > Scheme context. > > I have a variable 'marks' that I am setting to my mark value before > outputting with a send fomus:note command. > > These are all end up being unrecognizable by FOMUS: > > (set! mymark '("x "sul pont"") > > (set! mymark '("x \"sul pont\"") > > (set! mymark '("x 'sul pont'") > > (set! mymark '("[x "sul pont"]") > > Any suggestions? > > Cheers, > -=Bret > > > > > > _______________________________________________ > 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 dpsenick at gmail.com Sat Sep 11 13:31:15 2010 From: dpsenick at gmail.com (David Psenicka) Date: Sat, 11 Sep 2010 15:31:15 -0500 Subject: [CM] Using Scheme - FOMUS marks that have arguments In-Reply-To: <27202EE0-543E-4C46-8919-5EC705725FAF@uiuc.edu> References: <37DC19C2180900498561E9489A139796015B5867@ariadne.LEC-ADMIN.dmu.ac.uk> <27202EE0-543E-4C46-8919-5EC705725FAF@uiuc.edu> Message-ID: <1284237075.2282.62.camel@fred> adding `output: {"mid"}' in sal should do this. `output' is a list of filename extensions representing all the types of files you want output (in addition to the filename you specified). `midi: #t' used to do this (it basically just adds "mid" to the `output' list) but I changed the name of the `output' setting at some point and forgot to change it in grace... so this will get fixed when I make the next release. midi output should recognize most articulations plus tremolos, trills, harmonics... but it will probably need some adjusting until it sounds right (ie. accents have the right emphasis, staccato notes are the right duration, etc..) It will also use up a lot of tracks (a separate track for each voice) and will specify extra ports in the midi file if it has to, so if you have a lot of parts and voices (or quartertones) you need a midi player that recognizes the additional ports On Sat, 2010-09-11 at 11:03 -0500, Heinrich Taube wrote: > how do i tell fomus to generate a .midi file in addition to a .ly > (or .xml) file? sorry but i dont see it in the docs anywhere > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Fri Sep 17 08:48:04 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 17 Sep 2010 08:48:04 -0700 Subject: [CM] Snd 11.9 Message-ID: <20100917154642.M97489@ccrma.Stanford.EDU> Snd 11.9. The new gtk (version 3) has discarded most of the gdk functions, replacing them with cairo. This means the xg module and gtk code have also changed a lot. --with-cairo is the default (and the only gtk-alternative). You'll need gtk 2.9 or later, and cairo 1.6.4 or later. Eventually there will be a cairo "surface" for openGL, so I'll be able to reimplement that connection. Unfortunately, the gtk/cairo version of Snd is very slow (more than 10 times slower than Motif). Looking at valgrind output, my first guess is that it's cairo's fault, but I need to spend some time poking at it. kmenu.scm uses the new gdk key names, so it only works in gtk 2.90.7 or later. removed --with-builtin-gtkrc (Gtk themes have improved a lot over the years) removed --with-static-gsl removed the button color functions. added a play triangle to the selection, and a close button to the sound pane. changed the default value of just-sounds to #t. s7: :allow-other-keys in define* parameter list. Greg Santucci noticed and fixed a bug in s7's *trace-hook*. checked: gtk 2.90.6|7, sbcl 1.0.42 Thanks!: Michael Klingbeil, Greg Santucci From akopa at charter.net Mon Sep 20 20:21:14 2010 From: akopa at charter.net (Matthew D. Swank) Date: Mon, 20 Sep 2010 22:21:14 -0500 Subject: [CM] Newbie: How are different ccrma projects related? Message-ID: <4C9824AA.70802@charter.net> Could someone explain, or point me to a resource that explains the how common-music, Snd, and CLM are related? I am a little confused. Matt From bil at ccrma.Stanford.EDU Tue Sep 21 03:47:46 2010 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 21 Sep 2010 03:47:46 -0700 Subject: [CM] Newbie: How are different ccrma projects related? In-Reply-To: <4C9824AA.70802@charter.net> References: <4C9824AA.70802@charter.net> Message-ID: <20100921104016.M118@ccrma.Stanford.EDU> > Could someone explain, or point me to a resource that explains the how > common-music, Snd, and CLM are related? I am a little confused. clm is a sound synthesis package; it is used by snd, and can be used by common music. Snd is an editor; common music is aimed at composition. All three can use s7 scheme, and common-music/clm can use common lisp. From akopa at charter.net Tue Sep 21 18:53:30 2010 From: akopa at charter.net (Matthew D. Swank) Date: Tue, 21 Sep 2010 20:53:30 -0500 Subject: [CM] Newbie: How are different ccrma projects related? In-Reply-To: <20100921104016.M118@ccrma.Stanford.EDU> References: <4C9824AA.70802@charter.net> <20100921104016.M118@ccrma.Stanford.EDU> Message-ID: <4C99619A.9050303@charter.net> On 09/21/2010 05:47 AM, Bill Schottstaedt wrote: >> Could someone explain, or point me to a resource that explains the how >> common-music, Snd, and CLM are related? I am a little confused. > clm is a sound synthesis package; it is used by snd, and can be used > by common music. Snd is an editor; common music is aimed at > composition. All three can use s7 scheme, and common-music/clm > can use common lisp. > > Thank you. I looked at clm ages ago, and it has bloomed in the interim. Matt