Bill Schottstaedt | 6 Jul 2009 12:55
Picon

Snd 10.7

Snd 10.7

Mike made many improvements throughout Snd.

generators.scm: moving-fft, moving-scentroid, moving-autocorrelation, moving-pitch.

dlocsig.scm works now in s7, but not guile 1.9.0.

clm: added rectangular->magnitudes (ignores phases)

ALSA is now the default audio choice in Linux (this affects CLM/Sndlib also).
  This is a slight problem in Clisp because there's no way to tell that 
  we're in Linux, so in that case, push :alsa on *features* before loading
  all.lisp.  I've noticed playback can hang or simply fail if the pulseaudio
  server is running.  Linux audio is a never-ending pain.

New configure switch --with-oss.

Checked: gtk 2.17.1|2, sbcl 1.0.29, Fedora Core 11, guile 1.9.0

in the new guile, %delay and %filter are not defined, and there are many changes
  due to the guile compiler, so debug.scm has been removed, as well as the with-sound
  debugging stuff (ws.scm) that depended on it.  1.9.0 doesn't handle off_t cleanly,
  so you'll actually need 1.9.1.  Due to new restrictions in the syntax it accepts,
  this version of guile also can't handle generators.scm. And run doesn't work.

Thanks!: Mike Scholz, Jose Padovani, Kjetil Matheussen, Rick Taube.
Esben Stien | 8 Jul 2009 20:02
Favicon

Re: Snd 10.7

"Bill Schottstaedt" <bil@...> writes:

> Linux audio is a never-ending pain.

Not if you just trash ALSA/OSS and default to JACK.

--

-- 
Esben Stien is b0ef <at> e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef <at>    e     e 
           jid:b0ef <at>     n     n
Heinrich Taube | 12 Jul 2009 18:33
Picon

audio plots

svn trunk now has some big improvements to plotting:

you can now generate audio from ANY plot. just add points, open a midi  
out port, then choose Audio>Play Plot...  from the plot window's audio  
menu.  You can control how various point values are mapped to sound  
using the Play Plot dialog.

support for piano roll plotting ( :style :hbox)   has now been improved

the implementation of layers has been generalized, it will be possible  
soon to 'pivot' layers to show any pair of fields in mutidimensional  
points .

the Help>Examples>Plotting  example file now includes michael  
klingbeil's old arpa harmonics example working.

the XML representation for plots had changed a bit -- if you need to  
load an older .xlm file ill tell you what to do to get it to load (its  
easy to fix)
Donald Steven | 12 Jul 2009 17:04
Favicon

Grace, Linux & Sound

Hi all,

Has anyone managed to get sound working from Grace on Linux?  I'm using 
3.2.3 and have tried a number of distros (Fedora 10, Ubuntu 9.04, SUSE 
11.1, Centros 5.3, and Debian Lenny) and combinations of ALSA and jack 
things, but it can't find the audio.  All other apps work fine.  Thanks 
for any help you can provide.

Don
Heinrich Taube | 13 Jul 2009 15:38
Picon

Re: Grace, Linux & Sound

you can write realtime midi data , but you have to use 'qjackctl' or  
whatever to configure ports first.
you can write audio files using sndlib and clm instruments
you cannot play audio files except by some external app. This actually  
has nothing to do with Grace, which is making the the exact same calls  
on Linux as it is on OS X and windows, where things work.  from my  
perspective it seems like linux audio is overly complex and  juce  
linux (alsa) audio support has serious problems.

On Jul 12, 2009, at 10:04 AM, Donald Steven wrote:

> Hi all,
>
> Has anyone managed to get sound working from Grace on Linux?  I'm  
> using
> 3.2.3 and have tried a number of distros (Fedora 10, Ubuntu 9.04, SUSE
> 11.1, Centros 5.3, and Debian Lenny) and combinations of ALSA and jack
> things, but it can't find the audio.  All other apps work fine.   
> Thanks
> for any help you can provide.
>
> Don
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@...
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
Heinrich Taube | 13 Jul 2009 16:01
Picon

Re: Grace, Linux & Sound

it seems that in the past months juce users that develop audio have  
been developing  a "jack port", which i think would be better than  
using alsa, as is currently the case in juce.  i dont have the time or  
energy for this but if you have the ability and interest you could see  
if you get a jack port working relibly. if you could i would use it,   
the link is here, see page three and four:

http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338&postdays=0&postorder=asc&start=45
Donald Steven | 13 Jul 2009 16:24
Favicon

Re: Grace, Linux & Sound

Thanks, I'll look into this.

Heinrich Taube wrote:
> it seems that in the past months juce users that develop audio have 
> been developing  a "jack port", which i think would be better than 
> using alsa, as is currently the case in juce.  i dont have the time or 
> energy for this but if you have the ability and interest you could see 
> if you get a jack port working relibly. if you could i would use it,  
> the link is here, see page three and four:
>
>
>
http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1338&postdays=0&postorder=asc&start=45 
>
>
>
>
Markus Eichhoff | 14 Jul 2009 12:09

Problems with installing CM, CLM-4, LISP, SNDLIB

Hello,

many many questions arrived when I wanted to install CL with CLM-4 and Lisp (I 
took SBCL) and use windows. You might say: "WINDOWS? Oh oh oh, I don't know 
whether SBCL runs with Windows". But this is not most important now.

Questions:

1. How can I install CM on Windows computer. I like to use clm-4, because there a 
piano model is implemented.
I installed SBCL, inside its directory I untared the cm directory and clm-4.
I have Visual Studio 2008 installed. Do I need sndlib instead of the clm-4 folder?

2. I installed the sndlib folder into the sbcl folder next to the cm folder, went 
in, opened the vc++ project file and started it. The following errors occured (ok, 
it's somewhere in German, but you will understand the main things I hope):

1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration: Release Win32 ------
1>Kompilieren...
1>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet und wird in 
einer der nächsten Versionen entfernt.
1>audio.c
1>.\audio.c(63) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: 
"snd.h": No such file or directory
1>xen.c
1>.\xen.c(10) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: 
"stdint.h": No such file or directory
1>vct.c
1>.\vct.c(51) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: 
"snd.h": No such file or directory
(Continue reading)

Heinrich Taube | 14 Jul 2009 13:32
Picon

Re: Problems with installing CM, CLM-4, LISP, SNDLIB

> I installed SBCL, inside its directory I untared the cm directory  
> and clm-4.
> I have Visual Studio 2008 installed. Do I need sndlib instead of the  
> clm-4 folder?

If you want to use SBCL and CLM-4 (Common LIsp)  on Windows, then you  
dont need sndlib. But I dont know if CLM-4 will compile instruments on  
Windows, you better check that first. To use CM with SBCL on windows,  
use the GraceCL application. in this case you dont need sndlib either.

> 2. I installed the sndlib folder into the sbcl folder next to the cm  
> folder, went
> in, opened the vc++ project file and started it. The following  
> errors occured (ok,

If you want to use sndlib (sndlib has piano.ins working too i think)  
then you DONT need CLM-4 or  SBCL. But you will have to compile it  
from its sources until I can make a binary release,  I cant tell  
offhand what the problem you are having is due to.

Im sorry this is so confusing, i realized that there are lots of  
choices and compiling is not a trivial process (I did post directions  
on how to compile it to the cmdist list last month.)
  I will make a binary release as soon as the new C++ based Fomus is  
working reliably in Grace, hopefull this happens within two weeks.
Heinrich Taube | 14 Jul 2009 13:47
Picon

Re: Problems with installing CM, CLM-4, LISP, SNDLIB

Ok I guess  sndlib's code base or filenames have changed since I last  
built sndlib on windows so the vcproject i made doesnt work any more.
>
>
> 2. I installed the sndlib folder into the sbcl folder next to the cm  
> folder, went
> in, opened the vc++ project file and started it. The following  
> errors occured (ok,
> it's somewhere in German, but you will understand the main things I  
> hope):
>
>
> 1>------ Erstellen gestartet: Projekt: sndlib, Konfiguration:  
> Release Win32 ------
> 1>Kompilieren...
> 1>cl : Befehlszeile warning D9035 : Die Option "Wp64" ist veraltet  
> und wird in
> einer der nächsten Versionen entfernt.
> 1>audio.c
> 1>.\audio.c(63) : fatal error C1083: Datei (Include) kann nicht  
> geöffnet werden:
> "snd.h": No such file or directory
> 1>xen.c
> 1>.\xen.c(10) : fatal error C1083: Datei (Include) kann nicht  
> geöffnet werden:
> "stdint.h": No such file or directory
> 1>vct.c
> 1>.\vct.c(51) : fatal error C1083: Datei (Include) kann nicht  
> geöffnet werden:
> "snd.h": No such file or directory
(Continue reading)


Gmane