Skip to content

Add Swift conversion parity#1

Merged
olilarkin merged 2 commits into
mainfrom
codex/swift-parity-conversions
May 27, 2026
Merged

Add Swift conversion parity#1
olilarkin merged 2 commits into
mainfrom
codex/swift-parity-conversions

Conversation

@olilarkin
Copy link
Copy Markdown
Owner

Summary

Adds the first Swift parity slice for the C++/WASM API by expanding CLibrosa and Librosa around numeric conversion helpers, frequency helpers, octave/tuning helpers, and frequency weighting.

Details

  • Adds C ABI exports for frame/sample/time conversions, vector pitch/mel conversions, octave/tuning helpers, CQT and tempo frequency helpers, and frequency weighting.
  • Adds Swift wrappers for the new C ABI surface.
  • Extends Swift tests to cover the new parity APIs against the same formulas used by C++/WASM.
  • Adds a macOS swift test CI job so Swift package coverage is enforced on PRs.

Validation

  • swift test

@olilarkin olilarkin changed the title [codex] Add Swift conversion parity Add Swift conversion parity May 26, 2026
@olilarkin olilarkin marked this pull request as ready for review May 26, 2026 18:34
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9061390c65

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/CLibrosa/librosa_c.cpp
@olilarkin olilarkin merged commit 78bd6bc into main May 27, 2026
7 checks passed
@olilarkin olilarkin deleted the codex/swift-parity-conversions branch May 27, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant