[CM] Cmdist Digest, Vol 62, Issue 2

Heinrich Taube taube at illinois.edu
Wed Jul 3 04:30:55 PDT 2013


On Jun 30, 2013, at 6:34 PM, Wade McReynolds <wjmcreynolds at gmail.com> wrote:

> Thanks a lot for your help.  I've run into problems satisfying the dependencies and decided to stick with version 3.8.  I had hoped that by upgrading from 3.8 I could solve my audio problem (the MIDI works, but not the ALSA audio output), but there is probably an easier way of doing that.

What are the audio problems? Grace doesn't call alsa directly and its app-specfic audio code is really quite small -- basically a little audio file player --  and its working on my system (see below), which is the lasted stable Ubuntu running on virtual box.  Actual audio file writing is handled by sndlib and its also working fine on my linux

For audio/midi playback problems on linux i think the first place to start is the Juce Demo App -- If the Demo App's audio page works then the equivalent should work in Grace (because its not doing anything different). If it doesn't work then you have a fail case that people on the Juce forum could most easily help you with.

The one audio issue I have on my linux is that  its running in virtual box, and for whatever reason its audio input devices are failing somewhere deep in libasound  -- this results in a very long timeout in some alsa thread. If this is the problem you are having then you can edit Audio.cpp and set the max number of input devices to 0:
change:
  audioDeviceManager.initialise(2, 2, 0, true);
to:
  audioDeviceManager.initialise(0, 2, 0, true);

I could do that for all linux but that seems rather draconian. You will find that same issue in the Juce Demo, its nothing to do with Grace.

On a slightly different topic, can someone tell me what steps i need to take to generate a sound in midi on Linux?  Im not sure anymore how to do this, what app do i use and how do i make connections??




> On Fri, Jun 28, 2013 at 10:57 AM, Heinrich Taube <taube at illinois.edu> wrote:
> Hi Wade, please _carefully_ read the cm/readme.text file, it tells you what every dependency is and it gives you links to the places for you to get it.
> thats doubly important on linux because there are a number of apt-get systems you may need to install to build there, e.g alsa and a few more. This is covered in the section "Building a static JUCE library on Linux" at the end of the read me and includes a link to an explanation of what exactly you will need to install and how to install it.
> 
> once you have premake4 installed  on your path and have done apt-get on all the linux dependancies you can cd to the cm dir and do
>         premake4 --help
> 
> for a list of build options (also covered in the readme.text file…) and the command
> 
>         premake4
>         make
> 
> will make the core version of the Grace app -- Common Music in S7/Sndlib -- that will be saved in the executable  bin/Grace
> 
> Please let me know anything you find unclear in the readme,  i really try my hard to make things clear and simple
> 
> (and in my book doing...
> 
>         premake4
>         make
> 
> ...is about as simple as it can get for such complicated software ;)  )
> 
> 
> best, rick
> 
> 
> On Jun 28, 2013, at 12:27 PM, Wade McReynolds <wjmcreynolds at gmail.com> wrote:
> 
> > I can't get this to build on Linux.  When I get to the part where you say to enter "premake4" at the prompt, it says there is no premake4, "do you mean premake?"  After installing premake and trying "premake premake4" (and later, "premake --premake4," "premake --premake4.lua", etc.) I get the response "No premake script found!"  But isn't premake4.lua the script in question?  And how to I invoke it?  (I've already tried making it executable, and even the cm directory to PATH.)
> >
> > Thanks in advance.
> >
> >
> > On Sat, Jun 22, 2013 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-owner 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. CM 3.9.0 (alpha) (Heinrich Taube)
> >    2. Re: CM 3.9.0 (alpha) (Joel Matthys)
> >    3. Re: CM 3.9.0 (alpha) (Joel Matthys)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sat, 22 Jun 2013 10:13:26 -0500
> > From: Heinrich Taube <taube at illinois.edu>
> > Subject: [CM] CM 3.9.0 (alpha)
> > To: "<cmdist at ccrma.Stanford.EDU>" <cmdist at ccrma.Stanford.EDU>
> > Message-ID: <F82FC5BC-0EE9-4AA5-A234-AD4CFB417145 at illinois.edu>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > CM 3.9.0 (alpha) is available. A prebuilt mac binary can be downloaded here:
> >
> >   http://camil.music.illinois.edu/software/grace/Grace-3.9.0-alpha1-osx.zip
> >
> > on Linux you can build the app easily enough from sources:
> >
> >   rm -rf cm
> >   svn co http://svn.code.sf.net/p/commonmusic/code/trunk cm
> >   cd cm
> >   premake4
> >   make
> >
> > see readme.text for optional build flags.
> > don't have a windows build quite yet.
> >
> >
> > the main work for this release:
> >
> > o refactoring entire code base (about 80% done)
> > o moved to most current SndLib, Juce, Fomus, Liblo and SDIF (sndlib juce liblo and sdif  have all had 2013 releases)
> > o OSX: external app for midi playback no longer needed. If you deselect all midi out devices in the menu, Grace will switch to its new internal synth plugin ("apple's dsl music synth") when you generate midi.  the plugin sounds much better than SimpleSynth. you can tweak plugin parameters using the new "Synth Settings..." item in the audio menu
> > o Grace menus redesigned and simplified.
> > o completly reimplemented the audio and midi file players. no more pops, and playing multiple files at the same time should work. the player handles wav and aiff.
> > o added Trace Ouput flag for Open Sound Control
> >
> > the remaining work for the release will be to continue refactoring the code (including examples and tutorials) , modernizing grace's look-and-feel, and on osx i'll try to switch over to the normal Apple style application menu bar.  these last two steps will be quite complicated so im not sure how long it will take me...
> >
> > regardless the whole app should now be working and with completely up-to-date packages.
> >
> > --rick
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Sat, 22 Jun 2013 12:32:45 -0400
> > From: Joel Matthys <jwmatthys at yahoo.com>
> > Subject: Re: [CM] CM 3.9.0 (alpha)
> > To: cmdist at ccrma.Stanford.EDU
> > Message-ID: <51C5D1AD.1000103 at yahoo.com>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > That's great news! I just built it on Linux. I do have a problem with
> > FOMUS now, though. On opening I get this:
> >
> > Creating Fomus...fomus: error loading module `accs'
> > fomus: `accs' is not a valid module in setting `mod-accs', module `(fomus)'
> >
> > Joel
> >
> > On 06/22/2013 11:13 AM, Heinrich Taube wrote:
> > > CM 3.9.0 (alpha) is available. A prebuilt mac binary can be downloaded here:
> > >
> > >    http://camil.music.illinois.edu/software/grace/Grace-3.9.0-alpha1-osx.zip
> > >
> > > on Linux you can build the app easily enough from sources:
> > >
> > >    rm -rf cm
> > >    svn co http://svn.code.sf.net/p/commonmusic/code/trunk cm
> > >    cd cm
> > >    premake4
> > >    make
> > >
> > > see readme.text for optional build flags.
> > > don't have a windows build quite yet.
> > >
> > >
> > > the main work for this release:
> > >
> > > o refactoring entire code base (about 80% done)
> > > o moved to most current SndLib, Juce, Fomus, Liblo and SDIF (sndlib juce liblo and sdif  have all had 2013 releases)
> > > o OSX: external app for midi playback no longer needed. If you deselect all midi out devices in the menu, Grace will switch to its new internal synth plugin ("apple's dsl music synth") when you generate midi.  the plugin sounds much better than SimpleSynth. you can tweak plugin parameters using the new "Synth Settings..." item in the audio menu
> > > o Grace menus redesigned and simplified.
> > > o completly reimplemented the audio and midi file players. no more pops, and playing multiple files at the same time should work. the player handles wav and aiff.
> > > o added Trace Ouput flag for Open Sound Control
> > >
> > > the remaining work for the release will be to continue refactoring the code (including examples and tutorials) , modernizing grace's look-and-feel, and on osx i'll try to switch over to the normal Apple style application menu bar.  these last two steps will be quite complicated so im not sure how long it will take me...
> > >
> > > regardless the whole app should now be working and with completely up-to-date packages.
> > >
> > > --rick
> > >
> > >
> > > _______________________________________________
> > > Cmdist mailing list
> > > Cmdist at ccrma.stanford.edu
> > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> > >
> >
> >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Sat, 22 Jun 2013 12:54:40 -0400
> > From: Joel Matthys <jwmatthys at yahoo.com>
> > Subject: Re: [CM] CM 3.9.0 (alpha)
> > To: cmdist at ccrma.Stanford.EDU
> > Message-ID: <51C5D6D0.8050501 at yahoo.com>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > Solved; I had to build FOMUS with 64 bit enabled.
> >
> > Thanks. New menus look great!
> >
> > Joel
> >
> > On 06/22/2013 12:32 PM, Joel Matthys wrote:
> > > That's great news! I just built it on Linux. I do have a problem with
> > > FOMUS now, though. On opening I get this:
> > >
> > > Creating Fomus...fomus: error loading module `accs'
> > > fomus: `accs' is not a valid module in setting `mod-accs', module `(fomus)'
> > >
> > > Joel
> > >
> > > On 06/22/2013 11:13 AM, Heinrich Taube wrote:
> > >> CM 3.9.0 (alpha) is available. A prebuilt mac binary can be downloaded here:
> > >>
> > >>     http://camil.music.illinois.edu/software/grace/Grace-3.9.0-alpha1-osx.zip
> > >>
> > >> on Linux you can build the app easily enough from sources:
> > >>
> > >>     rm -rf cm
> > >>     svn co http://svn.code.sf.net/p/commonmusic/code/trunk cm
> > >>     cd cm
> > >>     premake4
> > >>     make
> > >>
> > >> see readme.text for optional build flags.
> > >> don't have a windows build quite yet.
> > >>
> > >>
> > >> the main work for this release:
> > >>
> > >> o refactoring entire code base (about 80% done)
> > >> o moved to most current SndLib, Juce, Fomus, Liblo and SDIF (sndlib juce liblo and sdif  have all had 2013 releases)
> > >> o OSX: external app for midi playback no longer needed. If you deselect all midi out devices in the menu, Grace will switch to its new internal synth plugin ("apple's dsl music synth") when you generate midi.  the plugin sounds much better than SimpleSynth. you can tweak plugin parameters using the new "Synth Settings..." item in the audio menu
> > >> o Grace menus redesigned and simplified.
> > >> o completly reimplemented the audio and midi file players. no more pops, and playing multiple files at the same time should work. the player handles wav and aiff.
> > >> o added Trace Ouput flag for Open Sound Control
> > >>
> > >> the remaining work for the release will be to continue refactoring the code (including examples and tutorials) , modernizing grace's look-and-feel, and on osx i'll try to switch over to the normal Apple style application menu bar.  these last two steps will be quite complicated so im not sure how long it will take me...
> > >>
> > >> regardless the whole app should now be working and with completely up-to-date packages.
> > >>
> > >> --rick
> > >>
> > >>
> > >> _______________________________________________
> > >> 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
> >
> >
> > End of Cmdist Digest, Vol 62, Issue 2
> > *************************************
> >
> > _______________________________________________
> > Cmdist mailing list
> > Cmdist at ccrma.stanford.edu
> > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> 
> 




More information about the Cmdist mailing list