SoundTouch is an extension (based on the SoundTouch library used in Audacity) to change pitch, tempo and PlaybackRate of a wav file.
Supported audio data format : 32bit floating point PCM mono/stereo
Capable of real-time audio stream processing:
- input/output latency max. ~ 100 ms.
- Processing 44.1kHz/16bit stereo sound in realtime requires a 133 Mhz Intel Pentium processor or better.
Please login to see this attachment.
[Beta] SoundTouch
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
Wow, you've been busy. This is really awesome!
Thanks conceptgame!
-
SoundTouch is an extension (based on the SoundTouch library used in Audacity) to change pitch, tempo and PlaybackRate of a wav file.
Supported audio data format : 32bit floating point PCM mono/stereo
Capable of real-time audio stream processing:
- input/output latency max. ~ 100 ms.
- Processing 44.1kHz/16bit stereo sound in realtime requires a 133 Mhz Intel Pentium processor or better.
Please login to see this attachment.Awesome! Is there some sort of license for the library that I should be aware of, by the way?
-
The SoundTouch library is released under the GNU Lesser General Public License (LGPL) v2.1.
-
> Processing 44.1kHz/16bit stereo sound in realtime requires a 133 Mhz Intel Pentium processor or better.
Well that's lame, who on earth has that good processors these days X)Nice work!
BTW, if you're interested I could show you how to add support for MMF's inbuilt audio samples. My Sound Player extension can dynamically add and play any MMF sample. It's quite easy to add that functionality, it's just that that part of the SDK is undocumented.
-
Quote
Well that's lame, who on earth has that good processors these days X)
Lol, no idea.
I just copied the functionality from the SoundTouch website.QuoteBTW, if you're interested I could show you how to add support for MMF's inbuilt audio samples. My Sound Player extension can dynamically add and play any MMF sample. It's quite easy to add that functionality, it's just that that part of the SDK is undocumented.
That is for sure really interesting.
As I was looking for sound documentation in MMF, I did not find anything really useful. Then, I looked at your OpenAl extension but I did not find something related to built-in sound in MMF.
I would be glad to learn about it. -
Here's some code from the extension:
Please login to see this link.The most convoluted function is PlaySnd:
the first 2 parameters are of course those MMF-related ones. id is the sound ID (use FindSoundFromName etc.), mainWin is also MMF-related, and the next one is the sound playback flags (constants that start with PS_). For example, PS_LOOP can be specified to loop the sound, and then the next parameter is the number of loops (otherwise it can be left 0 I think). Channel is the channel index from 1-32.
PlaySnd(rhPtr->rh4.rh4Mv->mvSndMgr, rhPtr->rhIdAppli, id, rhPtr->rhHMainWin, PS_LOOP|rdPtr->defFlags, loop, channel);
That's about it, if you know this the rest should be clear, I think!
-
Ok, it seems easy and obvious once explained. Thanks Looki.
That is a pity that it was not documented. -
I wanted to release this extension in the Released extension part of the forum but it seems that I do not own the rights to do so.
Therefore I post the released version here: Please login to see this link. -
Awesome! Thanks for the release!
-
I wanted to release this extension in the Released extension part of the forum but it seems that I do not own the rights to do so.
Therefore I post the released version here: Please login to see this link.
The object doesn't seem to work in Clickteam Fusion 2.5. Could you perhaps make a new version that works with it? -
Thanks for the feedback happygreenfrog. I know what it is, I already tried. It is certainly because my extension is not compatible with unicode, unlike OpenCapture.
I will look at this and post a new version. -
Hi conceptgames! This extension is works fine if you put files to hwa and Unicode data folders in Runtime directory and put this files to Extensions directory, remember file SoundTouch.dll put to Clickteam Fusion Developer 2.5 to root directory.
Paths: root = SoundTouch.dll,
Data/Runtime = SoundTouch.dll and SoundTouch.mfx.
Data/Runtime/hwa = SoundTouch.dll and SoundTouch.mfx,
Data/Runtime/Unicode = SoundTouch.dll and SoundTouch.mfx,
Extensions = SoundTouch.dll and SoundTouch.mfx;
Try and report them. -
Tanks crayzorechos. I did not check this. I will try and see if the rest is working well.
-
Hi conceptgame! I try it and this is method working well done, but I cant sure that this is really working for all clickers. Try this and report, I hope this is method is true.
-
Hi conceptgame
But I downloaded the SoundTouch (4) at Forum: Extension Development and put the extension where I should get it work. But I realized it would not open in mmf - cannot open extension Soundtouch. But when I open a new empty appl. in mmf , and create new object - from files - find sound touch, insert again - find soundtoouch extension, then it's in mmf. I open the new soundtouch and finally it worked. I think I get it now. Too bad you have to do all this to get it work.Every time you play with it.
Why can't it find the extension from the start, when I placed the right extension every where in mmf? Is it ony me that can't open sound touch extension. By the way very cool made, when I finally open it
Someone wrote this remember file SoundTouch.dll put to Clickteam Fusion Developer 2.5 to root directory. I did this and it worked fine, sorry.
-
Hi warlords,
Good you noticed this. I need to copy the dll to the root of the zip to avoid such problems.
You talked about a crash in another thread. Can you say when and how?
The only crash I know is when you try to read a sample whereas it is locked by windows and not readable. In other words, is it still crashing when you do not play or play later the output file? -
Hi conceptgame
sorry for delay...
Forget about the crash, I think it was the first app. you can get that crashed for me. But the last app. I downloaded worked very fine.I was thinking about a piano. Do you know how it works, like playing C,D,E,F,G, etc. and the black keys. Is it the pitch you use to that? I don't know how it work with it!
I would be cool if you made such a thing, if you have time ofcouse!Thanks
-
There was effective a unicode problem on this extension. And also one when the input wav file cannot be opened.
I solved both and this extension is working now. I am sorry for the japanese clickers but it is possible that the extension does not work for them, since the third party extension I am using for this does not support unicode.
It is transparent for the others who can give a filename path with standard character encoding. -
Please login to see this link.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!