Author Topic: (un-)signing and 8bit stretching  (Read 6432 times)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,645
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
(un-)signing and 8bit stretching
« on: February 12, 2007, 19:24:20 »
Hi, some new suggestions:
-There should be a button in the sample window to sign and unsign the waveform. This is not only a compatiblity matter but also a very cool effect ;)

-The time stretching doesn't work with 8 bit samples.

Implemented in OpenMPT 1.17.02.53
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,645
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
(un-)signing and 8bit stretching
« Reply #1 on: May 08, 2007, 12:37:26 »
Maybe in .47? :)
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline LPChip

  • Administrator
  • *****
  • Posts: 5,046
    • http://lpchip.nl
  • Operating System: Windows 10 Pro x64
(un-)signing and 8bit stretching
« Reply #2 on: May 08, 2007, 14:12:44 »
It doesn't work like that.

One of the programmers first have to accept your proposal, by setting the (S=A) or decline it by setting (S=D)

Once it is accepted, it will be available in a future build, but even then it could be .50 before it gets in, depending on the priority.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,645
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
(un-)signing and 8bit stretching
« Reply #3 on: May 08, 2007, 17:00:06 »
All I wanted to say that noone replied yet ;)
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Sam_Zen

  • Extreme artist
  • *****
  • Posts: 3,689
    • http://www.xs4all.nl/~samzen/
(un-)signing and 8bit stretching
« Reply #4 on: May 08, 2007, 23:24:11 »
I didn't reply, because I don't think it has any priority. And I can think of hundreds of other cool things to add to the sample tag.

If you want to choose between signed and unsigned, you can already do so I guess, by changing the extension of the file to a non-valid one like 'vaw' and import it anyway (open *.*). Then you get a window with a choice for signed or unsigned.
0.618033988

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,645
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
(un-)signing and 8bit stretching
« Reply #5 on: May 09, 2007, 13:20:09 »
that's not right. this dialog only appears when there is no WAV header, and i don't really want to cut a few bytes when i want to (un)sign a sample, nor do i want to run Impulse Tracker :)
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Sam_Zen

  • Extreme artist
  • *****
  • Posts: 3,689
    • http://www.xs4all.nl/~samzen/
(un-)signing and 8bit stretching
« Reply #6 on: May 09, 2007, 23:29:08 »
Quote
this dialog only appears when there is no WAV header

Yep, sorry. It was a theoretical assumption, and I already wondered about that.
0.618033988

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,645
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
(un-)signing and 8bit stretching
« Reply #7 on: October 13, 2008, 23:12:21 »
Unsigning/Signing is working :) now we need a toolbar button for that...
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Harbinger

  • Extreme artist
  • *****
  • Posts: 1,141
  • Gender: Male
  • Operating System: Windows XP
(un-)signing and 8bit stretching
« Reply #8 on: October 18, 2008, 01:07:51 »
Quote from: "Jojo"
Unsigning/Signing is working :) now we need a toolbar button for that...


What does Signing do exactly? Where and when is it used?

Offline Sam_Zen

  • Extreme artist
  • *****
  • Posts: 3,689
    • http://www.xs4all.nl/~samzen/
(un-)signing and 8bit stretching
« Reply #9 on: October 18, 2008, 02:03:31 »
I think basically it's about : where do you put, or has been put, the zero value of the waveform :
Symmetric with pos. and neg. values, or non-symmetric with just pos. values from zero.
0.618033988

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,645
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
(un-)signing and 8bit stretching
« Reply #10 on: October 18, 2008, 10:29:40 »
Sam_Zen's description is right i believe, but it can be explained with a picture easily.



It's basically the conversion from intel to motorola format.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Harbinger

  • Extreme artist
  • *****
  • Posts: 1,141
  • Gender: Male
  • Operating System: Windows XP
(un-)signing and 8bit stretching
« Reply #11 on: October 18, 2008, 15:10:59 »
So it's a change in data format, not in sound? When would i need to use it?

Offline älskling

  • Workaholic artist
  • ***
  • Posts: 325
(un-)signing and 8bit stretching
« Reply #12 on: October 18, 2008, 15:20:25 »
Quote from: "Jojo"
It's basically the conversion from intel to motorola format.

Are you sure you're not confusing signed/unsigned with big/little endians? (I'm not sure, that's why I'm asking)

Quote from: "Harbinger"
So it's a change in data format, not in sound? When would i need to use it?

If you convert to the wrong format, it distorts the sound quite heavily. Apparantly this is a desired effect by some ;-) I guess it can also be useful in the rare case when a sample has been saved "the wrong way", to make it go back to "the right way".