rserota / wad

Web Audio DAW. Use the Web Audio API for dynamic sound synthesis. It's like jQuery for your ears.
MIT License
1.89k stars 160 forks source link

setting pitch doesn't seem to work #92

Closed weepy closed 5 years ago

weepy commented 5 years ago

using the version on npm.

The detune and rate does seem to work.

Any pointers ?

rserota commented 5 years ago

Are you getting any errors in the console, or does it just have no effect?

I'm in the middle of moving right now, so I might not be able to look into this for a little while.

weepy commented 5 years ago

no errors - just no effect.

Seems detune works in chrome but not safari, but just hacking round it by setting rate which seems to work for both

On Wed, Oct 17, 2018 at 2:42 AM Raphael Serota notifications@github.com wrote:

Are you getting any errors in the console, or does it just have no effect?

I'm in the middle of moving right now, so I might not be able to look into this for a little while.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rserota/wad/issues/92#issuecomment-430459412, or mute the thread https://github.com/notifications/unsubscribe-auth/AAADNGTejRG8mSRdcMcpH_g5A4a_Q7Tsks5ulor5gaJpZM4XcUpG .

rserota commented 5 years ago

I just tested the setPitch functionality in Chrome on mac, and it seems to be working fine, as far as I can tell. Do you want to share your code that wasn't working?

rserota commented 5 years ago

Also, were you trying to change the pitch on a buffer or an oscillator? Pitch shifting is intended for oscillators. If you want to change the pitch of an audio buffer, then rate is probably what you want to change.