IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
foo_dsp_ambio, Ambiophonic effects plugin
j_b
post Oct 28 2011, 08:03
Post #1





Group: Members
Posts: 33
Joined: 19-September 07
From: Santo, TX
Member No.: 47182



I recently learned about Ambiophonics and I wanted to try it but the available software was unsatisfactory. As is often the case, I ended up writing my own.

foo_dsp_ambio.zip

Features:
ē Native foobar2000 plugin. No VST wrapper required.
ē Works with any sample rate and file format supported by foobar2000.
ē Calculates stereo crosstalk delay time based on speaker placement dimensions.
ē Setup parameters can be overridden by track metadata (tags).
ē 4 channels can be arranged as front/rear, front/front, or rear/rear. The latter two are for situations where the high and low frequency drivers have different left/right separations and thus different crosstalk delays.

Go to the top of the page
+Quote Post
Rozzo
post Oct 28 2011, 12:11
Post #2





Group: Members
Posts: 127
Joined: 28-March 06
Member No.: 28928




It works so fine.

The instructions manual is very useful.

When applying the real measures of depth and width, the result sounded like the exact real thing for my music station.

I tried almost every other ambio component I found around, and this is both the one wich gives more space to personal configurations, and the one wich leaves less space to loss the point of ambiophinics through error and trial experiments.

Thank you so much,

Rozzo

Go to the top of the page
+Quote Post
Chipicui
post Nov 16 2011, 03:33
Post #3





Group: Members
Posts: 88
Joined: 3-September 07
Member No.: 46732



Thanks so much for your work!... this plugin is wonderful!
Everybody, give it a try... I bet you'll never be back to traditional stereo :-)
Go to the top of the page
+Quote Post
GeSomeone
post Nov 20 2011, 16:03
Post #4





Group: Members
Posts: 922
Joined: 22-October 01
From: the Netherlands
Member No.: 335



I noticed a constant memory growth of foobar with this plugin active.
I did not investigate further but I suspect a memory leak in this plugin (v1.0).
Go to the top of the page
+Quote Post
k8o
post Nov 20 2011, 19:42
Post #5





Group: Members
Posts: 8
Joined: 20-November 11
Member No.: 95296



this is really interesting and providing excellent results so far, thankyou for the plugin, preset saving in the future maybe ?
Go to the top of the page
+Quote Post
j_b
post Nov 20 2011, 22:39
Post #6





Group: Members
Posts: 33
Joined: 19-September 07
From: Santo, TX
Member No.: 47182



Iím withdrawing support for foo_dsp_ambio. Iíve been advised that it has a significant memory leak and I donít have the time to deal with it.

I wrote foo_dsp_ambio to evaluate Ambiophonics because I found the available software unsatisfactory. In the end, Ambiophonics did not enhance my listening experience: I donít use it and I have no further interest in it. I posted foo_dsp_ambio assuming it might be useful to others exploring Ambiophonics. I didnít realize the plugin has a defect that makes it unsuitable for long-term use. Sorry.
Go to the top of the page
+Quote Post
k8o
post Nov 20 2011, 22:47
Post #7





Group: Members
Posts: 8
Joined: 20-November 11
Member No.: 95296



ah that's a shame, thank you for sharing your work anyway smile.gif
Go to the top of the page
+Quote Post
GeSomeone
post Nov 22 2011, 19:19
Post #8





Group: Members
Posts: 922
Joined: 22-October 01
From: the Netherlands
Member No.: 335



QUOTE (k8o @ Nov 20 2011, 20:42) *
preset saving in the future maybe ?

You can use foobar2000's "DSP chain presets" to accomplish that, if you like.


--------------------
In theory, there is no difference between theory and practice.
Go to the top of the page
+Quote Post
mudlord
post Nov 28 2011, 09:08
Post #9





Group: Developer (Donating)
Posts: 813
Joined: 1-December 07
Member No.: 49165



any src so other developers could fix the leak?
Go to the top of the page
+Quote Post
j_b
post Nov 29 2011, 02:15
Post #10





Group: Members
Posts: 33
Joined: 19-September 07
From: Santo, TX
Member No.: 47182



QUOTE (mudlord @ Nov 28 2011, 01:08) *
any src so other developers could fix the leak?

There are few opportunities for memory leaks in the code. Thatís why I was reluctant to waste time chasing an undocumented claim of a leak. With the holiday, I found time to examine the claim and was surprised to observe a leak; except there is nothing I can do about it.

foo_dsp_ambio uses three memory objects: the history buffer, declared in the foo_dsp_ambio class, and two strings, declared in the tag parsing function. It is my understanding that memory for the history buffer object is allocated when the class is instantiated and freed when the class is deleted. Memory for the strings is allocated when the function is entered and freed when the function returns. The only other possibility for a leak is a side effect of my misusing an sdk function.

Line by line, I removed code from the program looking for the source of the problem until there was nothing left but the minimum functionality of any dsp plugin: The leak remained, unchanged. Finally, I created a 30-track playlist and repeated playing it using a clean installation of foobar v1.1.8, alone, with foo_dsp_ambio, and with foo_dsp_sample, a foobar supplied dsp plugin that does nothing special. All instances showed similar memory usage.

As far as Iím concerned, foo_dsp_ambio does not leak. For anyone who tries it and doesnít like the way it worksÖDonít use it. If you think there is an urgent need for another Ambiophonic plugin, write it yourself.

Go to the top of the page
+Quote Post
GeSomeone
post Dec 3 2011, 21:44
Post #11





Group: Members
Posts: 922
Joined: 22-October 01
From: the Netherlands
Member No.: 335



Thanks for looking into it. I'm sorry that I suspected the ambio plugin and it turned out I was wrong. It was just that that I noticed foobar using an incredible 800+ MB of memory, on the same day I had been testing foo_dsp_ambio for a long time.
I have removed the component since, but have experienced another such memory used again today. Next time I put some effort with processexplorer to help find the cause.

BTW this was with foobar 1.1.10 (final)
Go to the top of the page
+Quote Post
orgonebox
post Feb 22 2012, 00:28
Post #12





Group: Members
Posts: 7
Joined: 31-January 12
Member No.: 96833



I love this plugin. No memory leak worries here. I had to play with its order in the DSP chain, but looks like right after SoX works great.
Go to the top of the page
+Quote Post
j_b
post Feb 22 2012, 02:18
Post #13





Group: Members
Posts: 33
Joined: 19-September 07
From: Santo, TX
Member No.: 47182



Because the Ambiophonic delay is an integral number of sample times, the best resolution comes with the highest sample rate. It is also essential that nothing downstream alters the channel balance because that will spoil the Ambiophonic effect.

Go to the top of the page
+Quote Post
Rozzo
post Feb 22 2012, 19:40
Post #14





Group: Members
Posts: 127
Joined: 28-March 06
Member No.: 28928



QUOTE (j_b @ Feb 22 2012, 03:18) *
Because the Ambiophonic delay is an integral number of sample times, the best resolution comes with the highest sample rate. It is also essential that nothing downstream alters the channel balance because that will spoil the Ambiophonic effect.



Good to know. I tried Electromusic AmbiofonicDsp playing music at 192000 Hz and was unable to move the delay knob ahead from 60-70 ms. I'm hearing now with your plugin at 192000 hz and 115 ms delay. Good.

Ys,
Rozzo
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 18:43