Import custom AutoEQ settings

Submit your proposals and ideas here.
blaubär
Posts: 3326
Joined: Tue Apr 02, 2019 6:48 am

Re: Can I import EQ setting?

Post by blaubär » Wed May 04, 2022 10:51 am

Okay, so you want to export and import eq- and frc-presets to and from the filesystem. No, that is currently not possible. You can edit the eq- and frc-preset-xml-files, but that isn't guaranteed to work properly and isn't in the format you wish to use.

JoonSumisu
Posts: 10
Joined: Wed Feb 16, 2022 4:10 pm

Re: Import custom AutoEQ settings

Post by JoonSumisu » Thu May 05, 2022 4:49 pm

Hello angelooo

I solved this problem with python

with code:
with open('/Users/AutoEq/my_results/HD600 to R10 dragon/HD 600 woodenear ParametricEQ.txt','r') as fA:
preamp = fA.readline().split()[1]
gain = []
freq = []
Q = []
count = 0
for line in fA:
if line:
lstLine = line.split()
gain.append(lstLine[8])
freq.append(lstLine[5])
Q.append(lstLine[11])
count += 1


with open('/Users/AutoEq/Neutrondata/dataset.txt','w') as fB:
fB.write('<preset id="" name="" desc="JS" bind="0" lock="3" preamp="{}">\n'.format(preamp))
for i in range(count):
fB.write('\t<band type="PEAKEQ" gain="{}" freq="{}" Q="{}" />\n'.format(gain, freq, Q))
fB.write('</preset>')


little bit complex but work!

JoonSumisu
Posts: 10
Joined: Wed Feb 16, 2022 4:10 pm

Re: Can I import EQ setting?

Post by JoonSumisu » Thu May 05, 2022 4:51 pm

blaubär wrote:
Wed May 04, 2022 10:51 am
Okay, so you want to export and import eq- and frc-presets to and from the filesystem. No, that is currently not possible. You can edit the eq- and frc-preset-xml-files, but that isn't guaranteed to work properly and isn't in the format you wish to use.
Thank a lot, wish it can be possible in future.

JoonSumisu
Posts: 10
Joined: Wed Feb 16, 2022 4:10 pm

Re: Can I import EQ setting?

Post by JoonSumisu » Thu May 05, 2022 4:52 pm

But for now, everyone facing same problem, wish import custom eq in to neutron

can use python with:

with open('/Users/AutoEq/my_results/HD600 to R10 dragon/HD 600 woodenear ParametricEQ.txt','r') as fA:
preamp = fA.readline().split()[1]
gain = []
freq = []
Q = []
count = 0
for line in fA:
if line:
lstLine = line.split()
gain.append(lstLine[8])
freq.append(lstLine[5])
Q.append(lstLine[11])
count += 1


with open('/Users/AutoEq/Neutrondata/dataset.txt','w') as fB:
fB.write('<preset id="" name="" desc="JS" bind="0" lock="3" preamp="{}">\n'.format(preamp))
for i in range(count):
fB.write('\t<band type="PEAKEQ" gain="{}" freq="{}" Q="{}" />\n'.format(gain, freq, Q))
fB.write('</preset>')

with some extract write in, it will work easily

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests