Author Topic: Real Time Pitch Shifting  (Read 2939 times)

Offline sokoban

  • Shy artist
  • Posts: 3
  • Gender: Male
  • ++OpenMPT Rulez Da World++
    • SOKOBAN.FR
  • Operating System: Windows 8.1
Real Time Pitch Shifting
« on: August 01, 2015, 17:00:33 »
Hi there!

I'm newbie with OpenMPT and with a low English skill :o
Let's try to explain my problem...
By default, if you play different notes (C5, D5, E5), both Pitch and Time of a sample are altered.
Are there options / params that could avoid time modifications?
My goal is to have all samples with the same duration and only pitch modifications while playing notes.

Thanks.

Offline LPChip

  • Administrator
  • *****
  • Posts: 5,135
    • http://lpchip.nl
  • Operating System: Windows 10 Pro x64
Re: Real Time Pitch Shifting
« Reply #1 on: August 01, 2015, 21:48:10 »
No, this is not possible. This would require time-stretching and although OpenMPT has had this in the past (don't know for sure if its still there but I don't think I saw it last time) the time-stretching is low quality as there's a lot to calculate.

(correct me if I'm wrong Saga_Musix)
"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: 7,515
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: Real Time Pitch Shifting
« Reply #2 on: August 01, 2015, 23:32:43 »
It is technically impossible to create perfect pitch shifting. And the pitch shifting library for offline processing that is used by OpenMPT is not exactly of high quality - but it doesn't matter, even the higher quality ones like Rubberband are still not perfect and are released under incompatibile licenses. So basically, if you need pitch shifting, do it offline, either using the built-in tools or using something like Rubberband for even higher quality.

Edit: Oh, and of course this is a big patent minefield too that I'm not going to touch.
« Last Edit: August 03, 2015, 13:32:48 by Saga Musix »
ยป 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.