Page 2 of 2

Re: Gigedit caveats

Posted: Sun Feb 10, 2008 2:10 pm
by dahnielson
Andreas wrote:I could replicate the bug without using "save as". I think there is a bug in the RIFF::Save() function, I'm investigating that at the moment.
In essence: "It's not you, it's me."

Re: Gigedit caveats

Posted: Sun Feb 10, 2008 2:19 pm
by cuse
dahnielson wrote: But, there should be some kind of prevention against this so this situation won't happen. Don't think I will be the last person to do that mistake...
No doubt about that!

Re: Gigedit caveats

Posted: Sun Feb 10, 2008 5:09 pm
by Andreas
I've committed a fix in libgig now. (Not for "save as" to same file, but for "save" to same file after adding samples). Please test.

Re: Gigedit caveats

Posted: Tue Feb 12, 2008 3:18 pm
by cuse
I just commited something against that "Save As..." trap. There's still no check whether the selected file is the same one, but the initial filename set in the "Save As..." dialog is now "copy_of_<filename>" and at the bottom of the dialog there is a warning, that using "Save As..." to the same file will corrupt the sample wave data.

I hope that's sufficient for now.

Re: Gigedit caveats

Posted: Tue Feb 12, 2008 3:34 pm
by dahnielson
cuse wrote:I just commited something against that "Save As..." trap. There's still no check whether the selected file is the same one, but the initial filename set in the "Save As..." dialog is now "copy_of_<filename>" and at the bottom of the dialog there is a warning, that using "Save As..." to the same file will corrupt the sample wave data.

I hope that's sufficient for now.
Agree. It's not fool proof. But at least it makes you think twice and indicate that you just might be a fool to not obey the instructions.

Re: Gigedit caveats

Posted: Thu Feb 14, 2008 10:01 pm
by dahnielson
A question.

When you drag and drop a sample the settings, like unity note, are all reset to the default. Is that a bug or a feature? The fact is that I experience it as an annoyance, especially when I'm doing manual sample replacement.

Re: Gigedit caveats

Posted: Sun Feb 17, 2008 2:19 pm
by Andreas
dahnielson wrote:When you drag and drop a sample the settings, like unity note, are all reset to the default. Is that a bug or a feature? The fact is that I experience it as an annoyance, especially when I'm doing manual sample replacement.
Actually, that is a feature, or at least something that I spent some time to implement. The thing is, a sample may contain information about unity note, fine tune and loops. When you drag-and-drop a sample I wanted to make use of that information, so it is copied from the sample to the dimension region.

Re: Gigedit caveats

Posted: Sun Feb 17, 2008 4:41 pm
by cuse
How about (another) checkbox for en/disabling applying the dragged sample's meta informations?