foo_dsp_effect, A effect array for FB2K |
![]() ![]() |
foo_dsp_effect, A effect array for FB2K |
Jan 25 2013, 02:10
Post
#176
|
|
![]() Group: Developer (Donating) Posts: 711 Joined: 1-December 07 Member No.: 49165 |
well it would be very helpful to know what tag it uses....
|
|
|
|
Jan 25 2013, 04:28
Post
#177
|
|
![]() Group: Members Posts: 476 Joined: 22-December 03 From: Malmö, Sweden Member No.: 10615 |
This delay between channels is added intentionally - in purpose of widening stereo basis. Stereo widening effects (like making stereo from mono signal) are always based on adding interchannel delay. So such DSP will be destroying effect rather than sound tuning effect. Youre referring to Haas effect processes which are sometimes applied to a few instrumments in a mix. It's more common in the DAW era with the exception for some experiments in the 1960s where the intentional delays were orders of magnitude higher than the unintentional delays from tape transport misalignment. I'll put forward my feature suggestion again: Please consider an effect for adding a small delay on either LR channel controlled by a custom tag field. The field value might look something like: 'L5' denoting the L channel be delayed by 5 samples. A range of 1-50 samples would be plenty for 44100Hz. This post has been edited by markanini: Jan 25 2013, 04:30 |
|
|
|
Jan 25 2013, 22:15
Post
#178
|
|
![]() Group: Developer (Donating) Posts: 711 Joined: 1-December 07 Member No.: 49165 |
and I say:
http://www.hydrogenaudio.org/forums/index....st&p=794716 im pretty much done with this component and many things in general. This post has been edited by mudlord: Jan 25 2013, 22:16 |
|
|
|
Jan 25 2013, 22:24
Post
#179
|
|
![]() Group: Admin Posts: 4218 Joined: 15-December 02 Member No.: 4082 |
Sounds like an interesting effect, although I would rather implement it using something more serious. Although I would probably take to a bit of mockery by making it a foo_dsp_silly_effects component.
Yeah, mudlord made a lot of effects he thought would be useful, but now feels some of these are just getting too silly for him to consider, even if they would be fairly easy to implement. I could get to work on some of this crap later. |
|
|
|
Jan 25 2013, 23:00
Post
#180
|
|
![]() Group: Developer (Donating) Posts: 711 Joined: 1-December 07 Member No.: 49165 |
Yes, easy to implement.
A) get your current track via play_control B) get your file_info from the metadb ptr given C) Parse tags using file_info methods. D) do delays based on timing from tags Honestly though, cannot be arsed though. What annoyed me greatly is now I am getting requests outside the scope of what I intended for this component to be. And plus, I can't find a personal use to implement them. |
|
|
|
Feb 2 2013, 18:23
Post
#181
|
|
![]() Group: Members Posts: 374 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
I'm not sure weather this issue is caused by foo_input_exe or foo_dsp_effect so i post it in both threads, maybe authors will find what can be wrong.
My DSP chain looks like this: Skip Silence - > convert 5.1 to stereo -> convert mono to stereo -> playback rate shift. Playback Rate Shift requires 2ch signal. So used DSP effects provide such signal. When I play 6ch FLAC encoded from DVD-A everything works OK. Signal is downmixed and I can use PRS actively or just unused, but present in chain. But when I play audio from video files and I use foo_input_exe to wrap signal decompressed by FFMPEG.exe from that files, then 6ch audio decoded from .VOB file generates error: "Unrecoverable playback error: Illegal number of channels". It means that Playback Rate Shift gets 6ch audio instead of 2ch - like "convert 5.1 to stereo" wasn't working or something like this... Why? What can I do to avoid this error in such playback configuration? |
|
|
|
Feb 2 2013, 19:31
Post
#182
|
|
![]() Group: Members Posts: 1466 Joined: 30-November 06 Member No.: 38207 |
You have likely been home in the meantime, but anyway, dBpoweramp uses <PRE-EMPHASIS>, value 'Yes'. Different value, different tag name (note the hyphen).
(Myself I store those pre-emph'ed CDs in a different format (great excuse to pay homage to WavPack) just in case I accidentally delete tags, so I don't mind doing the extra work to write another tag to them.) -------------------- geocities.com/hydrogenaudio: http://goo.gl/tqYZj
|
|
|
|
Feb 3 2013, 02:42
Post
#183
|
|
![]() Group: Developer (Donating) Posts: 711 Joined: 1-December 07 Member No.: 49165 |
I'm not sure weather this issue is caused by foo_input_exe or foo_dsp_effect so i post it in both threads, maybe authors will find what can be wrong. My DSP chain looks like this: Skip Silence - > convert 5.1 to stereo -> convert mono to stereo -> playback rate shift. Playback Rate Shift requires 2ch signal. So used DSP effects provide such signal. When I play 6ch FLAC encoded from DVD-A everything works OK. Signal is downmixed and I can use PRS actively or just unused, but present in chain. But when I play audio from video files and I use foo_input_exe to wrap signal decompressed by FFMPEG.exe from that files, then 6ch audio decoded from .VOB file generates error: "Unrecoverable playback error: Illegal number of channels". It means that Playback Rate Shift gets 6ch audio instead of 2ch - like "convert 5.1 to stereo" wasn't working or something like this... Why? What can I do to avoid this error in such playback configuration? Weird, doesnt sound like a problem on my end if the "convert 5.1 to stereo" isnt working. Indeed, the SoundTouch based DSPs only work on stereo channels. |
|
|
|
Feb 3 2013, 13:49
Post
#184
|
|
![]() Group: Members Posts: 374 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
Just for your information mudlord - it turned out that it might be a problem in handling of channel mask by "Convert 5.1 to stereo" plugin. Surround channels aren't properly handled (SR, SL) while back channels (BL, BR) are. That was said to be solved on Peter's end in "Convert..." plugin. So PRS doesn't trigger any problems in above scenario
This post has been edited by EpicForever: Feb 3 2013, 13:50 |
|
|
|
Feb 14 2013, 16:04
Post
#185
|
|
![]() Group: Developer Posts: 2980 Joined: 2-December 07 Member No.: 49183 |
|
|
|
|
Feb 16 2013, 12:33
Post
#186
|
|
![]() Group: Developer (Donating) Posts: 711 Joined: 1-December 07 Member No.: 49165 |
noticed the problem with the aliasing and such
mudlord.info/temp/foo_dsp_effect.zip mudlord.info/temp/foo_dsp_effect_nodemph.zip This post has been edited by mudlord: Feb 19 2013, 10:45 |
|
|
|
Feb 24 2013, 20:42
Post
#187
|
|
![]() Group: Members Posts: 374 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
Question - does regular version of foo_dsp_effect contains POSTPROCESSOR service for de-emphasis or only DSP/IIR filter based De-emphasis functionality? I can't find it in documentation on regular download site (foobar2000.org/components).
|
|
|
|
Feb 25 2013, 09:29
Post
#188
|
|
|
Group: Members Posts: 153 Joined: 5-March 08 Member No.: 51815 |
Postprocessor
QUOTE The tag "PRE_EMPHASIS" must be used on content which is supported by FB2Ks decode processor services, for this to work. Pre-emphasis can be signified in your media with the values "1" or "0".
|
|
|
|
Mar 1 2013, 22:50
Post
#189
|
|
![]() Group: Members Posts: 374 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
(...) I think about possibility of preserving information about preferred Playback Rate Shift, Pitch Shift and Tempo Shift for certain files in tags. It could be done like this: user manually adds tag field to his file - for exampla tag named "PRS" (for "Playback Rate Shift") and puts there a value - for example "+5" or "-10". Active DSP reads tag field and automatically applies shift. (...) I used it and it works great |
|
|
|
May 10 2013, 18:48
Post
#190
|
|
![]() Group: Members Posts: 374 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
One question - is it possible to make foobar display length of track after playback rate shift modification? I'm thinking mostly about status bar.
|
|
|
|
May 11 2013, 11:21
Post
#191
|
|
![]() Group: Developer (Donating) Posts: 711 Joined: 1-December 07 Member No.: 49165 |
No.
|
|
|
|
May 11 2013, 12:14
Post
#192
|
|
![]() Group: Members Posts: 374 Joined: 14-September 11 From: Szczecin, PL Member No.: 93712 |
OK, but you mean impossible because you are not willing to code it or because of foobar's limitations?
|
|
|
|
May 12 2013, 03:28
Post
#193
|
|
![]() Group: Developer (Donating) Posts: 711 Joined: 1-December 07 Member No.: 49165 |
from what I know, the latter.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 01:15 |