Author Topic: Is there a frequency sweep option for the DSP?  (Read 722 times)

Offline biolizardshadow

  • Inspired artist
  • **
  • Posts: 53
  • Operating System: Windows 10
Is there a frequency sweep option for the DSP?
« on: January 02, 2021, 03:50:56 »
Does the DSP have the capability to sweep to the highest or lowest possible notes? I'm looking for something that's close to or resembles Square 1's frequency sweep register on the GBA.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,316
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: Is there a frequency sweep option for the DSP?
« Reply #1 on: January 02, 2021, 12:57:09 »
From my understanding of the frequency sweep register, it does nothing more than what commands E and F do in the IT / MPTM 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 biolizardshadow

  • Inspired artist
  • **
  • Posts: 53
  • Operating System: Windows 10
Re: Is there a frequency sweep option for the DSP?
« Reply #2 on: January 02, 2021, 17:19:35 »
I was only asking because I don't know how to translate the sweep time and sweep shift to Exx and Fxx commands since those are far more accurate and change according to the song speed.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,316
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: Is there a frequency sweep option for the DSP?
« Reply #3 on: January 02, 2021, 20:34:17 »
Exx / Fxx decrease / increase the pitch by xx * 1/16th of a semitone on every tick but the first of the row. For EFx / FFx, it's x * 1/16th of a semitone only on the first tick of the row, and for EEx / FEx it's x * 1/64th of a semitone on the first tick of the time. You'll have to look up the units used by the GBA hardware, then you can calculate the equivalent OpenMPT commands.
» 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.