Sound Control

For questions about using Classic.

Post » Sun Aug 01, 2010 10:39 pm

Another new topic :P

I'd like a bit more control over sound and specifically I'd like to be able to apply filters to different sounds, that way as a sound source got further away, not only could it get gradually quieter and pan, but a high pass could be applied to remove the lower frequencies...

I know this can't be done with Constructs sound support but what are the alternatives? Python?
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Post » Sun Aug 01, 2010 11:42 pm

Also it'd be great to have access to DSP effects such as reverb, as well as filters, to create some unique environmental audio effects...

XAudio2 appears to have this functionality, can Python access it?

[url:37agcoa4]http://msdn.microsoft.com/en-us/library/microsoft.directx_sdk.ixaudio2voice.ixaudio2voice.setfilterparameters%28v=VS.85%29.aspx[/url:37agcoa4]
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Post » Mon Aug 02, 2010 12:28 am

I've never looked into it
so i can't answer your question directly, but an alternative that will probably sound almost exactly the same:
if you don't have so many sounds in your game this would become a major pain
you might try having two versions of each sound the high passed, and the normal, and then cross fade them using distance as the fading parameter
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Aug 02, 2010 12:46 am

Good shout, I've considered the possibility of having two versions of every sound but the inherent problem with that is that you can't have a perfect crossover point and it'd probably have a negative effect on the overall sound quality. Plus it'd double the size of your media! I think using real time DSP is a great feature of modern games and I think sound is often overlooked...

Even a plugin that gave you a little more control of the dynamics of sound would be a great feature, I tihnk :)
B
15
S
6
G
6
Posts: 103
Reputation: 2,968

Post » Mon Aug 02, 2010 5:42 am

I've been looking into pySndObj, still need to do some reading on it as the closest I've come to DSP is creating a horrible distortion effect in synthedit. But I think it has the capability and theres a tutorial in the forum here about including python libraries.

If you do anything with it, let me know? Good luck.
B
2
S
2
G
3
Posts: 114
Reputation: 1,553

Post » Mon Aug 02, 2010 7:09 am

There also is pyVST, but I don't know if this can be used to any advantage for these particular problems.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Mon Aug 02, 2010 3:00 pm

[quote="tulamide":3j6voa0a]There also is pyVST, but I don't know if this can be used to any advantage for these particular problems.[/quote:3j6voa0a]

Did you get pyvst to work?
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Tue Aug 03, 2010 7:19 am

[quote="newt":3cbh1dkq][quote="tulamide":3cbh1dkq]There also is pyVST, but I don't know if this can be used to any advantage for these particular problems.[/quote:3cbh1dkq]

Did you get pyvst to work?[/quote:3cbh1dkq]
No, but that doesn't mean much, because I generally have problems with python + Construct (I hate the conversion part, there's always something refusing to work and I have no clue why). I was trying to get it to work for that music project, where I ran into issues, if you remember. Anyway, it is a wrapper only and needs the ctypes-package (to access the dll) - but that is all I can say, I'm afraid.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests