[Flashcoders] is there a dsp lib with analysis using zero crossing in as3

2011-05-11 Thread Anthony Pace

Hello list,

I have been doing some experiments, but although my stuff is working, it 
isn't optimized at all, and I would to try a reliable lib that uses zero 
crossings for analysis, if one exists.


Any suggestions?

I am really just interested in pitch analysis with very small sample 
chunks.  Timber is not really necessary, so I, with my limited DSP 
knowledge, think the FFT is overkill; however, I absolutely admit I 
could be wrong and not seeing something important.


Another thing is that I was thinking a good/cheap way to get rid of some 
low level background noise would be to normalize all values within the 
time domain with a very high gain factor, and just give max and min 
values for the zero crossings( e.g +3, -3 respectively... I know the 
numbers would obviously not be these ones).   I know know frequency 
analysis would have to be preformed in order to remove a voice, but I am 
thinking that this could allow me to zero out/ignore, really low 
level/really high level background noise.  Should I try something different?


Again, I have just started reading through a copy of 'DSP: a computer 
science perspective', that someone gave me, and it seems like what I am 
talking about would work; yet, if not, and you have experience with 
signals analysis, I would appreciate the heads up.


Thank you,
Anthony
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Jim Lafser
Anyone know how to create a CDATA node when writing XML in AS2?I tried Google. 
I looked in the books I've got.I tried extending XMLNode.I've had no success.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Karl DeSaulniers

![CDATA[hello]]


On May 11, 2011, at 6:45 PM, Jim Lafser wrote:

Anyone know how to create a CDATA node when writing XML in AS2?I  
tried Google. I looked in the books I've got.I tried extending  
XMLNode.I've had no success.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread jimlaf...@yahoo.com
I am using an xml object and need to have a cdata node written out when I use 
toString() on the XML object

On May 11, 2011, at 7:50 PM, Karl DeSaulniers k...@designdrumm.com wrote:

![CDATA[hello]]


On May 11, 2011, at 6:45 PM, Jim Lafser wrote:

Anyone know how to create a CDATA node when writing XML in AS2?I tried Google. 
I looked in the books I've got.I tried extending XMLNode.I've had no success.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Karl DeSaulniers
In the xml node itself, the nodes content wrapped CDATA in the XML or  
the result of that node wrapped in CDATA in flash?


xmlnode id=![CDATA[nodename]]
xmlnode

or

xmlnode id=nodename
![CDATA[noderesult]]
xmlnode

or

var result = ![CDATA[+this.xmlNode.firstchild.childNodes 
[i].childNodes[0].firstChild.nodeValue+]];


HTH,

Karl


On May 11, 2011, at 9:08 PM, jimlaf...@yahoo.com wrote:

I am using an xml object and need to have a cdata node written out  
when I use toString() on the XML object


On May 11, 2011, at 7:50 PM, Karl DeSaulniers  
k...@designdrumm.com wrote:


![CDATA[hello]]


On May 11, 2011, at 6:45 PM, Jim Lafser wrote:

Anyone know how to create a CDATA node when writing XML in AS2?I  
tried Google. I looked in the books I've got.I tried extending  
XMLNode.I've had no success.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Dave Watts
 In the xml node itself, the nodes content wrapped CDATA in the XML or the
 result of that node wrapped in CDATA in flash?

 xmlnode id=![CDATA[nodename]]
 xmlnode

CDATA is not valid for XML attribute values.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Karl DeSaulniers

Ooops, sorry.
Minus that one then. :)

Karl

On May 11, 2011, at 9:35 PM, Dave Watts wrote:

In the xml node itself, the nodes content wrapped CDATA in the XML  
or the

result of that node wrapped in CDATA in flash?

xmlnode id=![CDATA[nodename]]
xmlnode


CDATA is not valid for XML attribute values.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] is there a dsp lib with analysis using zero crossing in as3

2011-05-11 Thread Henrik Andersson

Anthony Pace skriver:

Hello list,

I have been doing some experiments, but although my stuff is working, it
isn't optimized at all, and I would to try a reliable lib that uses zero
crossings for analysis, if one exists.

Any suggestions?

I am really just interested in pitch analysis with very small sample
chunks. Timber is not really necessary, so I, with my limited DSP
knowledge, think the FFT is overkill; however, I absolutely admit I
could be wrong and not seeing something important.

Another thing is that I was thinking a good/cheap way to get rid of some
low level background noise would be to normalize all values within the
time domain with a very high gain factor, and just give max and min
values for the zero crossings( e.g +3, -3 respectively... I know the
numbers would obviously not be these ones). I know know frequency
analysis would have to be preformed in order to remove a voice, but I am
thinking that this could allow me to zero out/ignore, really low
level/really high level background noise. Should I try something different?

Again, I have just started reading through a copy of 'DSP: a computer
science perspective', that someone gave me, and it seems like what I am
talking about would work; yet, if not, and you have experience with
signals analysis, I would appreciate the heads up.

Thank you,
Anthony
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



Try a high pass filter.

Also, here is some additional reading for you:
http://www.dspguide.com/pdfbook.htm

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders