Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

Request of IGModAudioChannel:SetPitch() #2178

Open ShiroToko opened 1 year ago

ShiroToko commented 1 year ago

Changing sound pitch without touching it's playback speed, I know IGModAudioChannel:SetPlaybackRate, but I don't want to modify sound's playback speed

robotboy655 commented 1 year ago

I am not sure bass.dll can even do that?

ShiroToko commented 1 year ago

I'm making a rhythm game addon, I'm not sure can .dll files be uploaded to workshop or not, I'll try that later. and thanks for reading my request and replying!

2023年10月4日(水) 1:49 Rubat @.***>:

I am not sure bass.dll can even do that?

— Reply to this email directly, view it on GitHub https://github.com/Facepunch/garrysmod-requests/issues/2178#issuecomment-1745448425, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQP3UUWSCDX3UF6KAQ65ODX5RFZPAVCNFSM6AAAAAA5REIGLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGQ2DQNBSGU . You are receiving this because you authored the thread.Message ID: @.***>

robotboy655 commented 1 year ago

You misunderstand. BASS.DLL is the library the game uses to to play sounds of IGModAudioChannel (sound.PlayFile)

ShiroToko commented 1 year ago

Ohh, I'll try that out, thanks for the reply!

2023年10月4日(水) 1:55 Rubat @.***>:

You misunderstand. BASS.DLL is the library the game uses to to play sounds of IGModAudioChannel (sound.PlayFile)

— Reply to this email directly, view it on GitHub https://github.com/Facepunch/garrysmod-requests/issues/2178#issuecomment-1745458087, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBQP3UWRSR54YPWNVU2CWSTX5RGSZAVCNFSM6AAAAAA5REIGLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGQ2TQMBYG4 . You are receiving this because you authored the thread.Message ID: @.***>

CornerPin commented 1 year ago

I am not sure bass.dll can even do that?

It's possible with the BASS FX extension, it provides additional channel attributes for changing tempo, pitch, and frequency.