Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using CF_Preview_SetValue to set pan value doesn't work on mono file #1818

Closed
dsyrock opened this issue Jan 3, 2024 · 0 comments · Fixed by #1808
Closed

Using CF_Preview_SetValue to set pan value doesn't work on mono file #1818

dsyrock opened this issue Jan 3, 2024 · 0 comments · Fixed by #1808
Assignees
Labels

Comments

@dsyrock
Copy link

dsyrock commented Jan 3, 2024

local sr = reaper.PCM_Source_CreateFromFile('e:\\mono.wav')
local pv = reaper.CF_CreatePreview(sr)
reaper.PCM_Source_Destroy(sr)
reaper.CF_Preview_SetValue(pv, 'D_PAN', -1)
reaper.CF_Preview_Play(pv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants