Welcome, Guest
Username: Password: Remember me

NOTE: This is a "Community" forum. Please be mindful that community members are here to help as part of a community effort. We therefore appreciate your effort in keeping this forum a happy place!

If you have a specific issue (e.g. hardware, failure) and want help from our support team, please use our tech support portal (Support menu - > Contact Us).
Thanks a lot of your help in making a better community.

TOPIC: Filter in CFG/WAV need to convert to .BIN

Filter in CFG/WAV need to convert to .BIN 1 year 10 months ago #34542

  • otherones
  • otherones's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 1
  • Karma: 0
I have a set of FIR Convolution filters that i'd like to import to OpenDRC. However, it looks like OpenDRC imports a .bin file. The filter I have has two files, a small .cfg (text) and a .wav file.

Is there a way to convert these to a compatible .bin file?
The administrator has disabled public write access.

Filter in CFG/WAV need to convert to .BIN 1 year 10 months ago #34543

  • otherones
  • otherones's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 1
  • Karma: 0
A sample of the .cfg is here:


48000 2 2 0
0 0
0 0
HAF_xtalk_48_HL.wav
0
0.0
0.0
HAF_xtalk_48_HL.wav
1
0.0
1.0
HAF_xtalk_48_HR.wav
0
1.0
0.0
HAF_xtalk_48_HR.wav
1
1.0
1.0
The administrator has disabled public write access.

Filter in CFG/WAV need to convert to .BIN 1 year 10 months ago #34551

  • eclipseaudio
  • eclipseaudio's Avatar
  • Offline
  • Senior Boarder
  • Posts: 69
  • Thank you received: 65
  • Karma: 9
Sound Forge can do this but it's not free. Load the WAV then save as "Raw" and in the "Custom Settings," select "32 Bit, IEEE float." Rename the extension to .bin.

I don't know of free tools to do this. If you know someone with Matlab or some coding experience, it's quick to create a conversion script or command line app. (I might add converters to the "todo" list here.)

Kind regards,
Michael
Eclipse Audio
Maker of FIR Designer and FIR Creator - filter design tools for loudspeakers.
www.eclipseaudio.com
The administrator has disabled public write access.
The following user(s) said Thank You: devteam

Filter in CFG/WAV need to convert to .BIN 1 year 10 months ago #34552

  • otherones
  • otherones's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 1
  • Karma: 0
Atttached files are what I'm trying to convert. I looked into Sound Forge - There is a $59 package and a $400 one. Do you know if both versions would work with these files?

Files
The administrator has disabled public write access.

Filter in CFG/WAV need to convert to .BIN 1 year 10 months ago #34554

  • eclipseaudio
  • eclipseaudio's Avatar
  • Offline
  • Senior Boarder
  • Posts: 69
  • Thank you received: 65
  • Karma: 9
I'm not sure. I have the full version.

In the end I just made a Matlab script. It's inside this ZIP with the bin files.

www.dropbox.com/s/9e6hoshx08vrmfd/HAF_xtalk_bin.zip?dl=0
Eclipse Audio
Maker of FIR Designer and FIR Creator - filter design tools for loudspeakers.
www.eclipseaudio.com
The administrator has disabled public write access.
The following user(s) said Thank You: devteam

Filter in CFG/WAV need to convert to .BIN 1 year 10 months ago #34555

  • otherones
  • otherones's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 1
  • Karma: 0
Awesome - thanks for that!

It doesn't seem that these are importable to the OpenDRC FIR. Throws an error that there are too many coefficents - only allowed to upload 6144?

Apologies - I'm new to this.
The administrator has disabled public write access.

Filter in CFG/WAV need to convert to .BIN 1 year 10 months ago #34556

  • eclipseaudio
  • eclipseaudio's Avatar
  • Offline
  • Senior Boarder
  • Posts: 69
  • Thank you received: 65
  • Karma: 9
That's right. The wav files are stereo and ~98,000 samples per channel.

Maybe try downloading a demo of Sound Forge, then you can edit/trim the files before saving as raw.

Kind regards,
Michael
Eclipse Audio
Maker of FIR Designer and FIR Creator - filter design tools for loudspeakers.
www.eclipseaudio.com
The administrator has disabled public write access.
The following user(s) said Thank You: devteam
Moderators: devteam