Re: [CM] Simple example

2022-03-11 Thread Forrest Curo
If you run Grace and check the Help menu, you will find several examples listed, explaining how to do most of what a user is likely to want to know. On Fri, Mar 11, 2022 at 8:42 AM Matti Koskinen wrote: > Hi all, > > I got Grace compiled and it works, but since I’ve used it many years ago, >

[CM] s4pd (s7 for pd) with [text] perhaps for live-coding

2021-07-17 Thread Forrest Curo
[text define cod] -- [line 0( | [step( |/ [text sequence cod] | [send cud] - [receive cud] | [list trim] (This is needed with output from 'text') | [fudiform -u] | [list tosymbol] | [s4pd] | [print] == Clicking on the [text define] box opens it for input,

Re: [CM] s7 repl for linux?

2021-03-30 Thread Forrest Curo
running. > > Try this to compile the server: > > cd qhttpserver-master > QMAKE=qmake MOC=moc make > > > On Tue, Mar 30, 2021 at 4:46 PM Forrest Curo > wrote: > > > > forrest@beefurr:~$ qmake --version > > QMake version 3.1 > > Using Qt version 5.12.8 i

Re: [CM] s7 repl for linux?

2021-03-30 Thread Forrest Curo
-qt5: Command not found make: *** [Makefile:27: moc_s7webserver.cpp] Error 127 On Mon, Mar 29, 2021 at 11:25 PM Kjetil Matheussen wrote: > On Tue, Mar 30, 2021 at 12:54 AM Forrest Curo > wrote: > > > > Everything goes happily to > > cd qhttpserver-master && qma

Re: [CM] s7 repl for linux?

2021-03-29 Thread Forrest Curo
29, 2021 at 9:18 AM Kjetil Matheussen wrote: > On Mon, Mar 29, 2021 at 2:59 AM Forrest Curo > wrote: > > > > I'm finding a web repl in the packages. That hangs my compilation and > isn't what I had in mind anyway. The emacs modes I've tried have been &g

Re: [CM] s7 repl for linux?

2021-03-29 Thread Forrest Curo
Um, the makefile in the tarball is for the webserver. So I blindly try this instead (Sorry, this stuff isn't as obvious to me as it probably is to others!): gcc -o s7.scm s7.c -DWITH_MAIN s7.c:66:10: fatal error: mus-config.h: No such file or directory 66 | #include "mus-config.h" |

[CM] s7 repl for linux?

2021-03-28 Thread Forrest Curo
I'm finding a web repl in the packages. That hangs my compilation and isn't what I had in mind anyway. The emacs modes I've tried have been intractable. How to get a repl (with history) to practice with? Forrest Curo ___ Cmdist mailing list Cmdist

Re: [CM] Learn Scheme For Max with S7 e-book up

2021-03-24 Thread Forrest Curo
There's also an old pd scheme extension that created external objects like a normal pd object running scheme code rather than c. As far as I can tell, after a few days of bewildered frustration, it's kaput (?) -- but the idea was nice. The etienne-p/Pd-Scheme does work, but it's (so-far) limited

Re: [CM] Learn Scheme For Max with S7 e-book up

2021-03-23 Thread Forrest Curo
s nothing to do with any existing pd scheme objects. > Everything in it *will* be relevant to the Pd port though when it happens! > I would anticipate the Pd port will happen this summer, with some early > limited versions out in the next couple of months. > > iain > > On Mon, Mar 22

[CM] confusing musx results

2021-02-14 Thread Forrest Curo
documentation says: >>> [jumble ([1,2,3]) for _ in range(5)] [1, 1, 3, 2, 3] but I'm getting: >>> [musx.jumble([1,2,3,4]) for _ in range(7)] [, , , , , , ] ? ___ Cmdist mailing list

[CM] to use musx in realtime?

2021-02-12 Thread Forrest Curo
I'm looking for ways to do this on my own system. Has anyone else gotten started in this direction? What's needed to put the output of a generator into notes directly to a midi out port? ___ Cmdist mailing list Cmdist@ccrma.stanford.edu

Re: [CM] New music package 'musx' available

2021-01-12 Thread Forrest Curo
That required sudo apt install python3-pip python3-setuptools python3.9-venv and that worked, phew! On Tue, Jan 12, 2021 at 2:09 PM Forrest Curo wrote: > Okay, re that pesky virtual environment. Upgrading my ubuntu distribution > made for a clearer error message: > > "The vi

Re: [CM] New music package 'musx' available

2021-01-12 Thread Forrest Curo
Okay, re that pesky virtual environment. Upgrading my ubuntu distribution made for a clearer error message: "The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following

Re: [CM] New music package 'musx' available

2021-01-08 Thread Forrest Curo
This looks like a wonderful idea, making the system much easier to work on! You mention putting it into 'a python virtual environment.' On a linux system, is there any particular advantage to doing it that way? Or should I just start up python 3 and go from there? Forrest Curo San Diego On Fri

Re: [CM] how to insert values into strings?

2020-07-11 Thread Forrest Curo
Not speaking 'Scheme' is a real handicap. Anyway: begin variable x = 25 system(string-append("echo \"i 23 0 1 ", number->string( x), " 55\" > testfif")) end (Phew!) On Sat, Jul 11, 2020 at 1:14 PM Forrest Curo wrote: > example: > > with val = 2

[CM] how to insert values into strings?

2020-07-11 Thread Forrest Curo
example: with val = 25 shell("echo \"i 23 0 1 val 90\" > testfif") simply sends the string, as is, to my fifo. I'm not finding string functions listed in the documentation. (?) Forrest Curo San Diego ___ Cmdist mailing list Cm

Re: [CM] compilation problem, ubuntu 20.04

2020-07-10 Thread Forrest Curo
Ah! I vaguely remembered you weren't on sourceforge anymore, looked through old mail, at last found: https://github.com/ricktaube/grace.git (Google searches kept sending me to sourceforge, alas!) On Fri, Jul 10, 2020 at 4:33 PM Forrest Curo wrote: > I get the identical error on a tosh

Re: [CM] compilation problem, ubuntu 20.04

2020-07-10 Thread Forrest Curo
I get the identical error on a toshiba laptop running ubuntu 18.04 On Fri, Jul 10, 2020 at 3:39 PM Forrest Curo wrote: > premake 4 is happy -- but then the trouble sets in: > > forrest@beefurr:~/cm$ premake4 > Building configurations... > Running action 'gmake'.

[CM] compilation problem, ubuntu 20.04

2020-07-10 Thread Forrest Curo
premake 4 is happy -- but then the trouble sets in: forrest@beefurr:~/cm$ premake4 Building configurations... Running action 'gmake'... Generating Makefile... Generating juce.make... Generating Grace.make... Done. forrest@beefurr:~/cm$ make Building juce (debug) Creating lib

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-08 Thread Forrest Curo
It's working today... oh well, minor error on my part. On Sat, Mar 7, 2020 at 8:41 PM Forrest Curo wrote: > In the source file OpenSoundControl.cpp > "sender.send" appears three times. > *In this function, it's working:* > > void OpenSoundControl::testOutput() { >

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-07 Thread Forrest Curo
time)) { bool success = sender.send(*bundle); delete bundle; return success; } else return false; } = What's the difference? Are ' *message' and ' *bundle' missing their payloads while '(float) f' here directly sends a random float. ? On Sat, Mar 7, 2020 at 5:34 PM Forrest

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-07 Thread Forrest Curo
> print > > or even connect a print object directly to the netreceive output. > > For sending from pd: > > |disconnect, connect localhost 7779( > | > | > netsend -b -u > > And then use oscformat for formatting osc messages (check the help > docs for examples, it's pre

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-07 Thread Forrest Curo
In Bash: nc -l -u gives me: /Grace,fB(7� but only when I use 'Test Output' On Sat, Mar 7, 2020 at 10:59 AM Forrest Curo wrote: > Interestingly, Grace can receive udp from Pure Data -- but again, Pure > Data won't receive from Grace > > except via the console menu: Audio, Osc ou

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-07 Thread Forrest Curo
Interestingly, Grace can receive udp from Pure Data -- but again, Pure Data won't receive from Grace except via the console menu: Audio, Osc out: port , Test Output -- This works! When I attempt to format an osc message in Sal I either get an error (even using Grace's example messages) or

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-06 Thread Forrest Curo
No problem, thanks! On Fri, Mar 6, 2020 at 7:36 AM Forrest Curo wrote: > I've used (and know of others using) -L; it's a good fast way to control > csound. Tthanks for the code example re accessing it from Grace. > > Haven't really worked with juce (or c++) so far; but next time I nee

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-06 Thread Forrest Curo
no one ever used it) but thats the way i would do > it. > > > On Mar 5, 2020, at 8:16 PM, Forrest Curo wrote: > > Um, a more graceful possibility: > > Adapt the c++ code from the Csound Api examples. Simply run instances of > csound within Grace. > > (?) >

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-05 Thread Forrest Curo
Um, a more graceful possibility: Adapt the c++ code from the Csound Api examples. Simply run instances of csound within Grace. (?) On Thu, Mar 5, 2020 at 6:05 PM Forrest Curo wrote: > Grace is sending valid osc messages. > > If these were going to Supercollider, that's how they'd b

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-05 Thread Forrest Curo
ant tell what going > on from the information you are giving me > > On Mar 5, 2020, at 6:14 PM, Forrest Curo wrote: > > Put in a header; csound objects. > Leave it out; Grace calls an error. > > On Thu, Mar 5, 2020 at 3:53 PM Forrest Curo wrote: > >> Supercollider is s

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-05 Thread Forrest Curo
Put in a header; csound objects. Leave it out; Grace calls an error. On Thu, Mar 5, 2020 at 3:53 PM Forrest Curo wrote: > Supercollider is set up to accept udp formatted as OSC messages. > > Csound 'expects' score events instead. I'd know how to format these if I > knew how to spec

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-05 Thread Forrest Curo
Supercollider is set up to accept udp formatted as OSC messages. Csound 'expects' score events instead. I'd know how to format these if I knew how to specify a string and send it from, Grace. On Thu, Mar 5, 2020 at 3:24 PM Forrest Curo wrote: > cm says "OSC send test succeeded" &g

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-05 Thread Forrest Curo
cm says "OSC send test succeeded" & csound says: error: syntax error, unexpected '/' (token "/") line 7: >>>/ <<< Parsing failed due to invalid input! Stopping on parser failure On Thu, Mar 5, 2020 at 3:17 PM Forrest Curo wrote: > syntax for

Re: [CM] How to send udp bundles from Grace on Linux?

2020-03-05 Thread Forrest Curo
syntax for sending a string to a port? On Thu, Mar 5, 2020 at 2:27 PM Taube, Heinrich K wrote: > You should be able to send OSC to any port you want, look in the Audio > menu for the OSC Connections… command. > I haven’t tested OSC yet on this release... > > On Mar 5, 2020, at 4

[CM] How to send udp bundles from Grace on Linux?

2020-03-05 Thread Forrest Curo
I have csound running & set to receive udp (i.e. --port=4567 ) ( https://csound.com/docs/manual/udpserver.html ) I can send lines it lines for immediate output from pure data: [send scoreline_i "i 2 0 3 440 .5" ( | [netsend -u ] likewise channel values: [send @valu 330 ( | [netsend -u ] but

Re: [CM] New home for Grace

2020-03-05 Thread Forrest Curo
ras/Projucer app in GPL mode using one of their premade projects. > > On Mar 5, 2020, at 8:48 AM, Forrest Curo wrote: > > Thanks much for humoring my impatience. (The delay gave me time to start a > batch of sauerkraut before my cabbage rotted the wrong way in the fridge.) > >

Re: [CM] New home for Grace

2020-03-04 Thread Forrest Curo
make sure the > path to juce is relative. > > On Mar 4, 2020, at 2:05 PM, Forrest Curo wrote: > > Not familiar with juce, but it compiled without error. > > It's in compiling grace that I continue to find befnurglement: > > " > ~/parent/grace/Builds/LinuxMakefile$

Re: [CM] New home for Grace

2020-03-04 Thread Forrest Curo
build/intermediate/Debug/Audio_a9638c37.o] Error 1 " -- -- -- -- - -- - -- - -- -- Should I try to use juce to chug out a new makefile...? Or move juce_audio_basics_/juce_audio_basics.h from ~/parent/juce/modules/ to wherever the Linux makefile expects to find it? Forrest Curo San Diego O

Re: [CM] New home for Grace

2020-03-03 Thread Forrest Curo
your machine type. there might be some lua call that will return > that value. im not sure why its not in premake. > > > > On Mar 3, 2020, at 6:46 PM, Forrest Curo wrote: > > How to proceed? > > Building this on Ubuntu 19.10, I end with: > premake4 --with-g++ >

Re: [CM] New home for Grace

2020-03-03 Thread Forrest Curo
How to proceed? Building this on Ubuntu 19.10, I end with: premake4 --with-g++ /home/forrest/parent/sndlib/premake4.lua:95: attempt to call field 'is64bit' (a nil value) "lua" in this case seems to be lua 5.3.3 (?) Forrest Curo San Diego On Tue, Mar 3, 2020 at 9:21 AM Taube,

Re: [CM] Cmdist Digest, Vol 141, Issue 2

2020-02-23 Thread Forrest Curo
If someone can produce a current Ubuntu binary (I managed this myself, some years ago, but it was traumatic!) Forrest Curo San Diego On Sun, Feb 23, 2020 at 6:21 PM Taube, Heinrich K wrote: > I have grace building well in the latest juce and sndlib. but i havent > had ant time to

Re: [CM] Having problems building Common Music/Grace on Ubuntu 16.04

2018-01-23 Thread Forrest Curo
I think that Starting the executable on linux needs to be done via a terminal window; it doesn't appear on the menu. (Probably you also need to put in the directory where the executable has been installed.) (?) Forrest Curo San Diego On Tue, Jan 23, 2018 at 5:26 AM, <anders.vin...@bek.no>

Re: [CM] real time csound and Grace

2017-06-24 Thread Forrest Curo
> On Jun 23, 2017, at 8:00 PM, Forrest Curo <treegest...@gmail.com> wrote: > > > > It _looks_ like one could save and play a score file that basically > said, say : "f0 600" for ten minutes of communicating with it by other > means... > > > > Instead I'

Re: [CM] Grace 3.10.0 is available

2017-06-22 Thread Forrest Curo
Okay, the documentation came out in ~/Grace/cm/res/doc/cm.html#introduction On Wed, Jun 21, 2017 at 8:39 PM, Forrest Curo <treegest...@gmail.com> wrote: > What I'm not finding is the documentation. > > I built the program in ~/Grace/cm, where I find a directory named > > /h

Re: [CM] Grace 3.10.0 is available

2017-06-21 Thread Forrest Curo
that nit. yes osc is built in now so it > should even run on windows... assuming someone can actually compile it > there! > > > On Jun 21, 2017, at 2:58 PM, Forrest Curo <treegest...@gmail.com> wrote: > > > > Um, works on ubuntu 16.10. > > > > Re

Re: [CM] Grace 3.10.0 is available

2017-06-21 Thread Forrest Curo
Um, works on ubuntu 16.10. Readme file still calls for "premake4 --with-oscpack" (but that is neither accepted nor needed; osc seems to be built in automatically now.) On Wed, Jun 21, 2017 at 9:55 AM, Taube, Heinrich K wrote: > Thank you Dave! > > If there is someone out

Re: [CM] cm rendering audio through csound in real time?

2016-02-21 Thread Forrest Curo
, 2016 at 9:57 PM, Forrest Curo <treegest...@gmail.com> wrote: > What I have in mind would take notes generated-by or received (via midi) > by cm, send them in real-time > > to a running instance of csound (which would handle the audio rendering) > > while cm records

Re: [CM] midi-received functions

2016-02-20 Thread Forrest Curo
<ta...@illinois.edu> wrote: > if you are in 3.9.0 and its working as you expect im happy! > > > On Feb 19, 2016, at 10:46 PM, Forrest Curo <treegest...@gmail.com> > wrote: > > > > Given that the error isn't from the current distribution, I suppose > there's no issue

Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
Given that the error isn't from the current distribution, I suppose there's no issue... Ah, I seem to have finally bumbled through installing 3.9.0, thanks! On Fri, Feb 19, 2016 at 2:19 PM, Forrest Curo <treegest...@gmail.com> wrote: > function mychord (data) > with channel =

Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
d("mp:midi", key: key, vel: vel, chan: chan) > > can be written > > mp:midi(key: key, vel: vel, chan: chan) > > i thought I got rid of all that in the documentation and help files. > > > > On Feb 19, 2016, at 10:04 AM, Forrest Curo <treegest..

Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
The section is "Input Hooks" (speaking of errors... but still not the first title I'd look for this under.) On Fri, Feb 19, 2016 at 7:59 AM, Forrest Curo <treegest...@gmail.com> wrote: > Okay, among 'examples' there is a section titled 'Output Hooks' (not, to > my mind, t

Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
+ 7, amp: velocity, chan: channel) end ;; assign receiver for the mm:on opcode (Note Ons) send("mp:receive", mm:on, mychord) On Thu, Feb 18, 2016 at 9:10 PM, Forrest Curo <treegest...@gmail.com> wrote: > I see a tutorial on sending midi out > > and ways to declare a fun

[CM] midi-received functions

2016-02-18 Thread Forrest Curo
I see a tutorial on sending midi out and ways to declare a function to be receiving midi in with specific opcodes but I'm not at all clear on how such a function should be written to extract the data when a midi message comes in. Examples anywhere?

Re: [CM] installation problem on 64-bit ubuntu

2016-02-18 Thread Forrest Curo
On 2nd computer (where I volunteer at a church computer lab) also running ubuntu 15.10 I've done the same messy installation process and can run Grace as root. If I'm not in my Superuser suit it simply exits, no error messages. ? On Wed, Feb 17, 2016 at 4:07 PM, Forrest Curo <treeg

[CM] cm rendering audio through csound in real time?

2016-02-17 Thread Forrest Curo
y? (Many programs tend to hang on to a file they're writing to, which leads to all the notes being held until the file is closed, when they all burst out at once.) Suggestions? Forrest Curo San Diego ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https:

Re: [CM] installation problem on 64-bit ubuntu

2016-02-17 Thread Forrest Curo
to the terminal and put in sudo apt-get-install [another !%@&*^# missing library's package]:i386 [repeat until done] Finally one sees delight at the end of the tunnel (and now, to see if it plays music after all!) Forrest Curo On Wed, Feb 17, 2016 at 12:30 PM, Forrest Curo <treegest...@gmail.com

Re: [CM] installation problem on 64-bit ubuntu

2016-02-17 Thread Forrest Curo
A new development... I've found an ubuntu Grace binary at https://sourceforge.net/projects/commonmusic/?source=typ_redirect and this too returns, 'No such file or directory' ? On Wed, Feb 17, 2016 at 10:02 AM, Forrest Curo <treegest...@gmail.com> wrote: > Trying to follow the com