Old 10-27-2010, 08:19 PM   #1
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
Default Who helps me creating a simple JS Haas panner ?

Recently I was reading this article about panning using Haas delays:

http://www.moultonlabs.com/more/prin...ntom_image/P2/

To experiment with it I was trying to create a JS based on the values in the table shown at the bottom of this article (delay times from 0 to .7 ms).
As I don't know any JS I started with modifying Looser's Time delayer JS.
Here's what I have so far:


[img]http://img822.**************/img822/8631/haaspanner.png[/img]

Works already basically.

What I would like to have now (but can't accomplish) is reducing the two sliders to one (to have a more actual "panning slider" feel), so that when moving the slider left the right signal is delayed and vice versa.
The other thing I've got no idea how to do is eliminating the zipper noise when adjusting the sliders (if possible).

I've attached the JS, any help appreciated.
Attached Files
File Type: txt Haas Panner (unfinished).txt (1.7 KB, 332 views)

Last edited by nofish; 10-27-2010 at 08:29 PM.
nofish is offline   Reply With Quote
Old 10-28-2010, 12:11 AM   #2
bblue
Human being with feelings
 
Join Date: Mar 2010
Location: El Cajon, CA (San Diego)
Posts: 593
Default

Did you take a look at JS LOSER/timeDifferencePan? Seems like that is already pretty close to what you're trying to do.

--Bill
bblue is offline   Reply With Quote
Old 10-28-2010, 09:12 AM   #3
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
Default

Yes, you're right, it probably is. I've seen it also before trying to do this one.

Two reasons for doing this one:

- I have no idea which parameters the time difference pan uses (couldnt figure out from looking at the code) and I want to use the parameters mentioned in the table I linked to.

- Understanding JS a little better.

Thanks anyway.

Last edited by nofish; 12-16-2010 at 07:19 AM.
nofish is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.