Skip to main content

Topic: DSP chain [de]serialization helper (Read 15812 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Yegor
  • [*][*][*][*]
  • Developer
DSP chain [de]serialization helper


DSP chain serialization helper



This helper is useful for sharing of chain presets between different Foobar2000 installations and users.

Hold Shift to access its commands in the Playback menu:



Files produced by the helper have fbcp extension.

The component: [ Specified attachment is not available ][source code]
  • Last Edit: 21 February, 2011, 12:44:23 PM by Entrase

  • Sandrine
  • [*][*][*][*]
DSP chain [de]serialization helper
Reply #1


DSP chain serialization helper



This helper is useful for sharing of chain presets between different Foobar2000 setups.

Hold Shift to access its commands in the Playback menu:



Files produced by the helper have fbcp extension.

The component: (Attachment Link) [source code]


What's the difference between this and exporting/importing DSP profiles?

  • Yegor
  • [*][*][*][*]
  • Developer
DSP chain [de]serialization helper
Reply #2
May be none at all if such a feature really exists. As “developer”, it's awkward for me to ask but... How do you export/import these profiles anyway?

  • foosion
  • [*][*][*][*][*]
  • Moderator
DSP chain [de]serialization helper
Reply #3
Sandrine: This component can store a DSP chain configuration in a separate file, whereas the DSP chain management in the foobar2000 preferences stores DSP chains in the foobar2000 configuration. This component can be used to transfer DSP chain configurations between different foobar2000 installations.

Entrase: May I suggest to rename the "DSP chain serializer" menu entry to "DSP chain"? It's simpler and less technical.

Also the menu entries show as "Load..." and "Save as..." in the menu and "Load" and "Save" in the keyboard shortcuts. Is there a reason why you chose to present the names differently? Maybe consider calling them "Import..." and "Export..." to emphasize there is no inherent connection between the current DSP chain and the last loaded/saved file.
http://foosion.foobar2000.org/ - my components for foobar2000

  • Yirkha
  • [*][*][*][*][*]
  • Moderator
DSP chain [de]serialization helper
Reply #4
It would be a good idea to handle possible IO exceptions during file operations.
Full-quoting makes you scroll past the same junk over and over.

  • Sandrine
  • [*][*][*][*]
DSP chain [de]serialization helper
Reply #5
Sandrine: This component can store a DSP chain configuration in a separate file, whereas the DSP chain management in the foobar2000 preferences stores DSP chains in the foobar2000 configuration. This component can be used to transfer DSP chain configurations between different foobar2000 installations.


Ah, right. For a moment there my memory played tricks on me and I thought that the presets were saved to actual files instead of core.cfg, much like in the kx driver.

  • Yegor
  • [*][*][*][*]
  • Developer
DSP chain [de]serialization helper
Reply #6
Quote
May I suggest to rename the "DSP chain serializer" menu entry to "DSP chain"? It's simpler and less technical.
Actually there was "DSP chain" until I released the component. It was an internal tool for testing of an effect adapter. The problem is that "DSP chain" is esentially the same as "DSP settings" in the given context.
Quote
Also the menu entries show as "Load..." and "Save as..." in the menu and "Load" and "Save" in the keyboard shortcuts. Is there a reason why you chose to present the names differently?
There were some thoughts but I'm not sure about them :-D Yes, these entries should be...
Quote
"Import..." and "Export..."
Quote
It would be a good idea to handle possible IO exceptions during file operations.
It'd be excellent idea. I just didn't bother doing it in a little dev utility that nobody needs. May be it's not so useless after all :)

Perhaps it also needs some kind of a warning to show if a DSP is missing.

  • Last Edit: 21 February, 2011, 12:45:49 PM by Entrase

  • servimo
  • [*][*][*]
DSP chain [de]serialization helper
Reply #7
For me does not show in the playback menu or elsewhere. I can't find it.
  • Last Edit: 01 June, 2011, 08:49:42 AM by servimo

  • tpijag
  • [*][*][*][*][*]
DSP chain [de]serialization helper
Reply #8
All menus [main and context] are abbreviated unless you use Shift+key.
In this case, Shift + Playback

  • Typhoon859
  • [*]
DSP chain [de]serialization helper
Reply #9
Perhaps I am just slow but I still don't really get how to use it.  I don't see it anywhere and holding shift anywhere or pressing anything while holding shift doesn't do anything.  Thanks!

  • Typhoon859
  • [*]
DSP chain [de]serialization helper
Reply #10
Anybody could help me out?

Sorry for reviving an old thread and now double-posting XD

  • Typhoon859
  • [*]
Re: DSP chain [de]serialization helper
Reply #11
Ok, well, this doesn't work.  It would be nice if somebody could actually get this going again.  It's kind of the last thing missing from me being able to install my playback configuration for people because otherwise, it takes way too long manually setting up every parameter of each DSP in the chain...

  • PeteG
  • [*][*][*]
Re: DSP chain [de]serialization helper
Reply #12
I'm not sure I understand the issue.
After a correct installation of the component it works as expected (foobar2000 1.3.11 beta 4).
Clicking Playback in the menu while pressing the Shift key I get what is shown in the screenshot.
A short test including saving and loading different DSP settings gave no problems.
The only drawback found so far is that the component doesn't remember where the DSP settings files (.fbcp) are saved; you'll have to find the location manually.

(I should be evident that the component only saves DSP settings, nothing else.)

  • Typhoon859
  • [*]
Re: DSP chain [de]serialization helper
Reply #13
I'm not sure I understand the issue.
After a correct installation of the component it works as expected (foobar2000 1.3.11 beta 4).
Clicking Playback in the menu while pressing the Shift key I get what is shown in the screenshot.
A short test including saving and loading different DSP settings gave no problems.
The only drawback found so far is that the component doesn't remember where the DSP settings files (.fbcp) are saved; you'll have to find the location manually.

(I should be evident that the component only saves DSP settings, nothing else.)

Oooh, well the screenshot pretty much answers everything.  I must say that is a very unexpected place for it to be given what it does and literally where nothing else goes, and no matter how much "Playback" was mentioned, it was completely unclear this is what was entailed.  Thank you for finally making it obvious.  Over the many times that I came back to this trying to figure it out again, probably wasted at least hour shift+clicking and shift+ right-clicking everywhere!  The only connection I made with "Playback" was the playback buttons.  What an odd context menu to have.

Anyway, thanks again!

  • Jailhouse
  • [*][*]
Re: DSP chain [de]serialization helper
Reply #14
Quote
What an odd context menu to have.
DSP is certainly related to playback. Where else would it go?  :)

  • PeteG
  • [*][*][*]
Re: DSP chain [de]serialization helper
Reply #15
... me being able to install my playback configuration for people because otherwise ...
If you had tried to create shortcuts for the two available actions, you would actually have got a hint of their type and position in the hierarchy, namely [main], not [context]. See screenshot.
Anyway, time has come to share your presets ad libitum, I suppose ;D.