dhilowitz / SFZ2DS

A command-line utility that converts SFZ files to Decent Sampler format.
MIT License
18 stars 3 forks source link

The 'path' attribute of the sub-element 'sample' adds wrong extra data #1

Open J0rgeSerran0 opened 3 years ago

J0rgeSerran0 commented 3 years ago

Environments used: Windows and MacOS

When I convert a .sfz file into .dspreset file, the wav files into the dspreset file have a wrong extra data information

For example:

<?xml version="1.0" encoding="UTF-8"?>

<DecentSampler pluginVersion="1">
  <groups>
    <group>
      <sample path="Samples/S_000_036_c1.wav&#13;&#10;lokey"/>
      ...

The wrong data here is:

&#13;&#10;lokey

To resolve this issue, I have to edit the dspreset file and delete this text.

dhilowitz commented 3 years ago

Ah, that's very useful. Would you be able to provide the section of the SFZ file that was supposed to get translated correctly?

Thanks!

– Dave

On Mon, Jul 5, 2021 at 7:41 AM Jorge Serrano Pérez @.***> wrote:

When I convert a .sfz file into .dspreset file, the wav files into the dspreset file have a wrong extra data information

For example:

<?xml version="1.0" encoding="UTF-8"?>

... The wrong data here is: lokey To resolve this issue, I have to edit the dspreset file and delete this text. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or unsubscribe .
J0rgeSerran0 commented 3 years ago

Demo.zip

Hi Dave.

Attached you will find a zip file with the Demo.sfz file used to convert it into the Demo.dspreset file, and the Demo.dspreset that SFZ2DS created in the conversion process with those strange texts.

I hope that helps.

Don't hesitate to ask me about more information if you need it.