Pranjal Bikash Das
Pranjal Bikash Das

Reputation: 1102

can DiracLE change Pitch or just the time Stretching

I am using Dirac LE. i have tried to change the pitch of a sound but got the following error in console..

enter image description here

Can Dirac LE convert the pitch of a sound audio? I know i can only use one channel.

Upvotes: 0

Views: 359

Answers (1)

TimoRozendal
TimoRozendal

Reputation: 76

yes you can change the pitch.

please be aware that you need to create and destroy the dirac object when you change something

so:

  • create the dirac instance with DiracCreate (or the interleaved version)
  • set the pitch/tempo and other settings
  • do the processing with DiracProcess
  • destroy the dirac instance with DiracDestroy

if you want to change a setting you need to create/destroy the dirac instance in the LE version (calling DiracReset is not enough)

oh, and you can process multiple channels by having multiple dirac instances, however these are not linked/synced and this can cause small variations in left/right channel, resulting in an unstable stereo image

Upvotes: 2

Related Questions