SingingPub

Saturday, 1 July 2023

[New post] Wrapped FFT Code from WORLD

Site logo image synsinger posted: " Since the WORLD library has a built-in FFT routine, I figured I could use it and cut down on the number of libraries that I was using. I had trouble getting the IFFT code working, which was odd because it should have been trivial once the FFT code was" synSinger

Wrapped FFT Code from WORLD

synsinger

Jul 1

Since the WORLD library has a built-in FFT routine, I figured I could use it and cut down on the number of libraries that I was using.

I had trouble getting the IFFT code working, which was odd because it should have been trivial once the FFT code was running.

The root cause was with Godot's GDExtension interface. Godot uses Variants for its variables. When a int type was passed via the interface to the C function that used a double, Godot was setting it to a zero because apparently that was what was saved in the float field of the varient.

What it should have done was notice that it was an int and cast it to a double.

After many hours I eventually figured it out. I went to open a bug, but it looks like it's already been corrected as of two weeks ago.

That's the joy of using the bleeding edge release, I guess.

In any event, it looks like the WORLD FFT and IFFT is now working.

Comment
Like
Tip icon image You can also reply to this email to leave a comment.

Unsubscribe to no longer receive posts from synSinger.
Change your email settings at manage subscriptions.

Trouble clicking? Copy and paste this URL into your browser:
https://synsinger.wordpress.com/2023/07/01/wrapped-fft-code-from-world/

WordPress.com and Jetpack Logos

Get the Jetpack app to use Reader anywhere, anytime

Follow your favorite sites, save posts to read later, and get real-time notifications for likes and comments.

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com on Twitter WordPress.com on Facebook WordPress.com on Instagram WordPress.com on YouTube
WordPress.com Logo and Wordmark title=

Learn how to build your website with our video tutorials on YouTube.


Automattic, Inc. - 60 29th St. #343, San Francisco, CA 94110  

at July 01, 2023
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

MM

Rebellious, Bitter, Beloved... ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏   ...

  • [New post] eRead of the Month: HERE FOR IT: Or, How to Save Your Soul in America
    Neil McKay posted: " This year's final eRead of the Month is HERE FOR IT: Or, How to Save Your Soul in America by R. Er...
  • The Rainbow Girls Connection
    Today marks the return of live music sags to Wise Madness; for many, this is wha...
  • [New post] Ceremony to mark Nakba
    ...

Search This Blog

  • Home

About Me

SingingPub
View my complete profile

Report Abuse

Blog Archive

  • July 2025 (21)
  • June 2025 (32)
  • May 2025 (16)
  • April 2025 (18)
  • March 2025 (21)
  • February 2025 (22)
  • January 2025 (16)
  • December 2024 (22)
  • November 2024 (8)
  • October 2024 (11)
  • September 2024 (11)
  • August 2024 (2722)
  • July 2024 (3200)
  • June 2024 (3080)
  • May 2024 (3199)
  • April 2024 (3101)
  • March 2024 (3214)
  • February 2024 (3014)
  • January 2024 (3244)
  • December 2023 (3192)
  • November 2023 (2685)
  • October 2023 (2042)
  • September 2023 (1758)
  • August 2023 (1539)
  • July 2023 (1533)
  • June 2023 (1380)
  • May 2023 (1397)
  • April 2023 (1335)
  • March 2023 (1392)
  • February 2023 (1320)
  • January 2023 (1600)
  • December 2022 (1555)
  • November 2022 (1389)
  • October 2022 (1230)
  • September 2022 (1023)
  • August 2022 (1109)
  • July 2022 (1122)
  • June 2022 (1141)
  • May 2022 (1120)
  • April 2022 (1178)
  • March 2022 (1085)
  • February 2022 (763)
  • January 2022 (924)
  • December 2021 (1347)
  • November 2021 (2424)
Powered by Blogger.