[LAD] Determining Phase

2011-06-25 Thread pshirkey
Hi, Can anyone point me to a simple code example for how to determine the phase at a specific time in a waveform? ex. if I have a sample that is 5 seconds long and want to know the phase at 2.5 seconds I'm open to code in any language or a scripted example if such a tool exists. If there is an

Re: [LAD] Tascam US-1641?

2011-06-25 Thread Emanuel Rumpf
2011/6/22 Jeremy Jongepier autosta...@gmail.com: The US-1641 still appears to be unsupported. http://www.google.com/search?q=tascam+1641+site:mailman.alsa-project.org Also it appears superseded by Tascam US-1800 http://tascam.com/product/us-1800/

Re: [LAD] Determining Phase

2011-06-25 Thread Jörn Nettingsmeier
On 06/25/2011 04:23 PM, pshir...@boosthardware.com wrote: Hi, Can anyone point me to a simple code example for how to determine the phase at a specific time in a waveform? ex. if I have a sample that is 5 seconds long and want to know the phase at 2.5 seconds talking about the phase at some

Re: [LAD] Determining Phase

2011-06-25 Thread Gabriel M. Beddingfield
On Saturday, June 25, 2011 09:23:29 am pshir...@boosthardware.com wrote: Hi, Can anyone point me to a simple code example for how to determine the phase at a specific time in a waveform? ex. if I have a sample that is 5 seconds long and want to know the phase at 2.5 seconds I'm open

Re: [LAD] Determining Phase

2011-06-25 Thread Fons Adriaensen
On Sat, Jun 25, 2011 at 04:23:29PM +0200, pshir...@boosthardware.com wrote: Can anyone point me to a simple code example for how to determine the phase at a specific time in a waveform? ex. if I have a sample that is 5 seconds long and want to know the phase at 2.5 seconds I'm open to

Re: [LAD] Determining Phase

2011-06-25 Thread Fons Adriaensen
On Sat, Jun 25, 2011 at 01:55:05PM -0500, Gabriel M. Beddingfield wrote: Do you mean... for a very simple sine wave? Assuming yes: p = asin( x / A ) Where: A is the amplitude of the sine wave x is the value of the sample (-A = x = A) p is the phase of the wave in radians

Re: [LAD] Determining Phase

2011-06-25 Thread Gabriel M. Beddingfield
On Saturday, June 25, 2011 02:49:39 pm Fons Adriaensen wrote: p is the phase of the wave in radians (-pi/2 = p = pi/2) And what if the phase is -pi/2 or +pi/2 ? then you set phasers to stun. :-p Hey, at least I pointed out the limitation -gabriel

Re: [LAD] Determining Phase

2011-06-25 Thread Emanuel Rumpf
2011/6/25 Fons Adriaensen f...@linuxaudio.org: On Sat, Jun 25, 2011 at 01:55:05PM -0500, Gabriel M. Beddingfield wrote: Do you mean... for a very simple sine wave? Assuming yes:   p = asin( x / A ) Where:   A is the amplitude of the sine wave you mean the maximal amplitude (-MAX = x =

Re: [LAD] Determining Phase

2011-06-25 Thread Jörn Nettingsmeier
On 06/26/2011 12:04 AM, Emanuel Rumpf wrote: 2011/6/25 Fons Adriaensenf...@linuxaudio.org: On Sat, Jun 25, 2011 at 01:55:05PM -0500, Gabriel M. Beddingfield wrote: Do you mean... for a very simple sine wave? Assuming yes: p = asin( x / A ) Where: A is the amplitude of the sine wave

Re: [LAD] Determining Phase

2011-06-25 Thread Emanuel Rumpf
2011/6/26 Emanuel Rumpf xb...@web.de: since x = A (always), better: abs( x ) = abs( A ) that result is not possible, with that function at least ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org

Re: [LAD] Determining Phase

2011-06-25 Thread Folderol
On Sun, 26 Jun 2011 00:22:58 +0200 Jörn Nettingsmeier netti...@folkwang-hochschule.de wrote: that's where delay becomes group delay, i.e. the same constant time delay implies different phase angles depending on frequency, pretty much arbitrarily large as the frequency rises. Bingo! Which is

Re: [LAD] Determining Phase

2011-06-25 Thread Rui Nuno Capela
On Sat, 25 Jun 2011 16:23:29 +0200 (CEST), pshir...@boosthardware.com wrote: Hi, Can anyone point me to a simple code example for how to determine the phase at a specific time in a waveform? ex. if I have a sample that is 5 seconds long and want to know the phase at 2.5 seconds I'm open to

Re: [LAD] Determining Phase

2011-06-25 Thread Emanuel Rumpf
2011/6/26 Gabriel M. Beddingfield gabrb...@gmail.com: *headdesk*.  Yes... should have been the half-amplitude of the signal...   p = asin( 2*x / A ) I.e. MAX = A/2 and MIN = -A/2 ? Try with φ = ∆t * f * 2π(rad) -- φ = 1s * 1Hz * 2π = 2π (rad) φ = 0.5s *

[LAD] Yoshimi Midi Learn: 1st testing release

2011-06-25 Thread louis cherel
Hello everyone, Every one knows Yoshimi, the fork of ZynAddSubFx. One thing was lacking to yoshimi to be perfect: to be nearly fully controlled by midi controls ( no OSC, sorry ). ZynAddSubFx had possibilities to control a few parameters with complicated NRPN, Yoshimi recently had ( in the test

Re: [LAD] Determining Phase

2011-06-25 Thread Fons Adriaensen
On Sun, Jun 26, 2011 at 12:22:58AM +0200, Jörn Nettingsmeier wrote: it seems you have just proven that the maximum duration of any pure tone is 1/f. that is quite extraordinary. 0.5 / f actually, which is extraextraordinary. Both Joern and I have invited the original poster to explain more

Re: [LAD] Determining Phase

2011-06-25 Thread Duncan Gray
From the long list of answers, I see lots of speculation about Mr. Shirkey's question. Some time back he approached me on the work that had been done a very long time ago on phase-modulation to achieve panning. He never replied to my subsequent information or queries. I suspect that this