Re: [ecasound] ecasound and lua?

From: Joel Roth <joelz@email-addr-hidden>
Date: Wed Jul 14 2010 - 11:55:02 EEST

On Wed, Jul 14, 2010 at 09:17:16AM +0200, Philipp ??berbacher wrote:
> Excerpts from Joel Roth's message of 2010-07-13 23:29:13 +0200:
> > To build you need to install the perl module Text::Template.
> Ah, sorry, I read it but thought I had it installed (I had 'Text'
> installed, which apparently wasn't sufficient).
> Now I only got this:

> Cannot determine license info from lib/Audio/
> Checking if your kit is complete...
> Warning: the following files are missing in your kit:
> META.yml
> Please inform the author.
> Writing Makefile for Audio::Nama

Consider me informed. :-)
> > To test for the bug in Nama's Net-ECI interface, start
> > Nama with the -n flag.
> nama seems to start normally with -n now.

Glad to hear it. There _was_ briefly some anomalous, which
may yet reappear.
> > > It seems to parse -g, but the gui doesn't start and I don't see an
> > > error. I do have tk installed: tk 8.5.8
> >
> > For the GUI to work, you need to install perl's Tk module.
> > That is different from the standalone tk.
> >
> > The GUI adds a bit of convenience, and is sufficient
> > for the basic recording and effects processing you're
> > interested in.
> Ok, I got it to work, but I found it to be a bit strange that it didn't
> complain about the missing perl Tk module.

Running without Tk is considered a feature, not a bug!

However starting with 'nama -g' now informs the user,

        Tk module not found, starting in console mode.
> Oh, another thing I like to have is some concept of 'takes'. I didn't
> have time to actually use nama yet, but I've seen a 'Version' button,
> which I guess is what I'm looking for.

All WAV files recorded during an engine run get the same
version number: piano_2.wav, snare_2.wav, etc.

The version number is incremented after each successful
recording run.
> > The Nama codebase has grown to about 10,000 lines.
> > Seems like a lot just to do simple recording, doesn it?
> > I started writing procedural code, and gradually
> > introduced OO, which has made it possible to handle
> > all the complexity.
> It really does seem a lot, but what do I know :)

There is always one more feature, that you absolutely *have*
to have or *want* to have, to keep up with the Joneses (or Davises).
Some stuff is of interest from a computer science viewpoint.

I'm especially proud of Nama's graphic routing algorithm.

A graphic waveform display would be fun to have, too. People
feel sure about their audio recording when they see the wavy
lines. :-)

> I noticed that ecasound defaults to two channels, I often want just one,
> and usually that's not the first one.

Neither Ecasound nor Nama default to stereo.

In Nama, each mono signal is recorded as mono
without effects, however in the monitoring path,
mono signals are copied to stereo, and go through
volume and pan effects.

The 'stereo' command sets the current track to stereo.

> Well, I'll have a closer look at
> all three interfaces to see how to achieve that. It seems like the main
> obstacles are out of the way or at least known now; I can start to use
> Ecasound/Nama :)
> One new 'problem' popped up however. I get a segfault whenever I quit
> nama in GUI mode. -n or not doesn't matter, Quit button or ctrl+c on the
> commandline doesn't matter either.
> No chain setup, engine not ready.
> nama ('h' for help)> No user tracks, skipping...
> Exiting...
> Segmentation fault

I admit it doesn't look great. :-) I will need to study more
about Tk. Perhaps I need to destroy some objects manually.
> No such problem with nama -t.
> I guess you'll need some kind of backtrace? If so, please tell me the
> exact command, I always get confused with this stuff.

I guess I could cut back the GUI to something trivially
simple, and then add in more and more frames and widgets
till it segfaults on Ctrl-C.

Although fixing this behavior is not high on my list of
priorities I appreciate your mentioning that you noticed it.


> --
> Regards,
> Philipp

Joel Roth
This email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit --
Ecasound-list mailing list
Received on Wed Jul 14 12:15:02 2010

This archive was generated by hypermail 2.1.8 : Wed Jul 14 2010 - 12:15:02 EEST