Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Store DSP settings for multiple speaker types/setups #98

Open
paulliewallie opened this issue Jun 25, 2020 · 7 comments
Labels
feature Feature requests or ideas

Comments

@paulliewallie
Copy link

paulliewallie commented Jun 25, 2020

For my disco speakers(Bose 402+502B), there are different equaliser curves and a bi-amp setting. Currently it takes time to make the curves and too long to compare two different curves.

I currently do not know how to save/load equaliser settings or if it can be done, i have searched for information on this but can't find an answer.

Can a drop down list be added to the speaker equaliser page so that a curve could be made and stored with a name. Then next time it's needed, it can be reloaded instantly and be ready to use. Professional DSPs have this feature.

@tuomashamalainen
Copy link
Collaborator

Hi there,

thanks for your feature request. The idea is that you will be able to store the Speaker Equaliser settings in a Speaker Preset. This hasn't materialised yet in the interface, but if you're cool with some manual work, you can already create and import custom speaker presets.

Here's a simple sample speaker preset:

{
	"speaker-preset": {
		"presetName": "Fun Box",
		"presetVersion": 1,
		"fallbackDSP": "beocreate-universal"
	},
	"equaliser": {"a":[],"b":[],"c":[],"d":[]},
	"channels": {
		"a": {
			"level": 100,
			"enabled": true,
			"role": "left"
		},
		"b": {
			"level": 100,
			"enabled": true,
			"role": "right"
		},
		"c": {
			"level": 100,
			"enabled": true,
			"role": "side"
		},
		"d": {
			"level": 100,
			"enabled": true,
			"role": "mono"
		}
	}
}

A preset can be saved into a JSON file on your computer, after which you can go to Sound > Speaker Preset to upload it to the speaker. It will then appear in that screen under the "Other" category.

You can see that the preset contains the equaliser channel settings (currently empty). These can be copied from /etc/beocreate/equaliser.json or typed in manually. You can also save other channel settings if needed (those can be copied from /etc/beocreate/channels.json). When selecting the speaker preset, you can then either choose to apply all of the settings or cherry-pick some of them.

More information about sound presets is over here.

Best,

Tuomas from Bang & Olufsen

@tuomashamalainen tuomashamalainen added the feature Feature requests or ideas label Jun 25, 2020
@paulliewallie
Copy link
Author

I have successfully made a set of presets by using WINSCP and copying "equaliser.json" over to my computer. After editing it and placing it back, a reboot updates the equaliser with the new curves. Later on, i will redo my presets and write them out as in the link you have sent.

The "sound > speaker preset" isn't available on my system. I dumped a few presets in the /etc/beo-dsp-programs to see if sound > speaker presets would appear.

@tuomashamalainen
Copy link
Collaborator

I take it you're using some other board than Beocreate 4-Channel Amplifier? The Speaker Preset menu is currently only available with that one (being designed for choosing presets for upgraded B&O speakers). I'll have to see how to best make this available for other DSP boards too.

@paulliewallie
Copy link
Author

Hifiberry DSP DAC.
Is there a way i can enable the speaker preset menu?

@tuomashamalainen
Copy link
Collaborator

You can go in and edit /opt/beocreate/beo-extensions/speaker-preset/package.json and down at the bottom add "DAC+ DSP" to the "enableWith" array. After a restart the system will probably go into setup mode and ask you to select a speaker preset, which will override your current speaker equaliser settings.

It may also install the "Beocreate Universal" DSP program in this process, which differs very slightly from the DAC+ DSP program, but if this happens, you can go to Sound > DSP Programs and reinstall the DAC+ DSP program.

Note that any changes to the /opt/ directory will not persist over software updates.

Best,
Tuomas

@paulliewallie
Copy link
Author

Can you upload a modified "package.json" because i'm not sure if i've written the array correctly.

Thanks for your help on this. Look forward to the feature being added in the next update.

@tuomashamalainen
Copy link
Collaborator

Try this:

{
  "name": "@beocreate/speaker-preset",
  "version": "0.6.0",
  "description": "Speaker preset management for Beocreate sound systems.",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "github.com/bang-olufsen/create"
  },
  "keywords": [
    "sound",
    "preset",
    "dsp",
    "beocreate",
    "bang",
    "olufsen"
  ],
  "author": "Bang & Olufsen",
  "license": "MIT",
  "beocreate": {
  	"enableWith": ["Beocreate 4-Channel Amplifier", "DAC+ DSP"]
  }
}

Can't promise an ETA for official support at this moment, but I'll update this issue when I get around to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature requests or ideas
Projects
None yet
Development

No branches or pull requests

2 participants