Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Re: editing audio to zero crossings from the command line.

Date2009-02-26 02:35
Frommichael.gogins@gmail.com
Subject[Csnd] Re: Re: Re: Re: Re: editing audio to zero crossings from the command line.
Python is plenty fast enough for this.
 
Regards,
Mike
----- Original Message -----
Sent: Wednesday, February 25, 2009 9:20 PM
Subject: [Csnd] Re: Re: Re: Re: editing audio to zero crossings from the command line.

>Have you considered thinking about an orc that analyzes each sample of
>an audio file and call it a "zero crossing" when the scalar pressure
>values to represent amplitude change signs? (ie. from positive to
>negative and vice-versa)
 
Sure haven't.
 
>Perhaps the source code to the waveset opcode may be a good place to
>start. In the abstract, to answer your question I think Csound is
>probably the best tool for this.
I'll be darned. I thought this sounded like a relatively obvious thing someone would have put together by now, and this whole "looking at code' thing after one month of recreationally working at Csound and having taught myself some very entry-level C (that's it.) is a bit intimidating. I'll give it a shot, though.
 
>Do you write python?
>It's not a problem to pull the file into a numpy array and search /edit to your heart's content.
>D.

Sure don't. I had a vague sense that python was a little cpu-heavy, but again, I'll have a look.
It just seemed with all the SoX, ecasound, etc., there would be something (perhaps even a simple ladspa plugin?) written to do this. Did people just not make looping oscillators back in the day?
Greg

On Thu, Feb 26, 2009 at 9:27 AM, DavidW <vip@avatar.com.au> wrote:
Do you write python?
It's not a problem to pull the file into a numpy array and search /edit to your heart's content.
D.


On 26/02/2009, at 11:12 AM, Greg Schroeder wrote:


I am not sure about audacity
. . . "from the command line" . . .
. . . "doesn't need x11" . . .
peak and soundtrack
" . . .gpl'ed . . . "
" . . . command line . . ."

I know there are myriad ways to find zero crossings in software, Peiman. I want to find and edit to them without a graphical interface to accomodate a relatively sluggish computer.
Greg



2009/2/26 Greg Schroeder <gmschroeder@gmail.com>:
> Hey all,
> Does anyone here edit audio for looping oscillators from the command line?
> I'm currently trying to cobble together a workflow that doesn't need x11,
> and I don't know how to find zero crossings without "looking" at the sound.
> As always, gpl'ed and currently-maintained is best . . .
> Greg


________________________________________________
David Worrall.
- Experimental Polymedia:       www.avatar.com.au
- Education for Financial Independence: www.mindthemarkets.com.au
Australian research affiliations:
- Capital Markets Cooperative Research Centre: www.cmcrc.com
- Sonic Communications Research Group:  creative.canberra.edu.au/scrg






Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"