Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / irrklang audio engine wrapper

Author
Message
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 13th Feb 2008 13:43 Edited at: 14th Feb 2008 12:15
Hi would anyone be interested in a wrapper for the irrklang audio engine.

Ive already made a start on it . Its got some cool effect functions and plays

ogg,wav,mp3 etc ,3d sounds .

the irrklang dll is free and must be put in with the exe but i think it might be much needed sound upgrade..

will post it when ive finished .


here`s a small reverb demo

Attachments

Login to view attachments
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 14th Feb 2008 21:56 Edited at: 14th Feb 2008 22:05
hi heres the beta dll if anyone wants to try it.

Theres a couple of demo`s too to help with commands there a bit messy haven`t had much time.

Im still workin on this i need to implement some kind of id system for each sound but failing miserably my c++ isn`t up to much , anyway ive included the irrklang docs if someone could help me .

had to remove the docs because of the licence.

thanks chunks

Attachments

Login to view attachments
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 15th Feb 2008 11:32
@chunks chunks
Use a map:



chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 15th Feb 2008 12:42
cool didnt know you could do that thanks that will make it loads better.

will have to do some more reading on c++ i think ..

thanks mate ..









chunks
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 15th Feb 2008 13:21
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 15th Feb 2008 13:30
ive just been looking at that..

anyway works a treat just done a test ...

have to re-write it all now , nevermind its all good fun ..



thanks again mate


chunks
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 17th Feb 2008 16:21 Edited at: 19th Feb 2008 23:24
Here is release 2 the dll, ini and docs are in the zip .
please let me know if it works ok.


a little update recording now works and saves to wav .
also you can select the no of channels , bits , and samplerate .

Thanks chunks

[edit] minor update to fix some recording issues.

Attachments

Login to view attachments
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 17:12
Oh yes this is huge

Thats exactly what i needed for my Qmusic v3 composer..

Is it ok to include your dlls with my free music composer ?

check out the beta test in the music forums

Id realy like to use your dll with this app if you give me permission to do so

I will post you in the credits for the sound recording portion.
Let me know....
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 17:36
I cant get the dlls to work

Help!

i get an error saying that it cant load irklang wrapper2.dll

what would possibly be wrong?
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 26th Mar 2008 17:45 Edited at: 26th Mar 2008 18:00
i will have a look ive had this before with dlls .. did you put the irrklang dll in with the exe, as well as the wrapper one in the user plugins


[edit] you can use it no credit needed, i just wrapped the library..

might be a good idea to check the licence out on the irrklang website address in the docs ...

If you can`t get it working i could make you a dll for the recording.

cant fix the wrapper just yet my laptops in for repair.

didn`t back it up stupid me.

thanks chunks
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 18:03
Oh im having trouble getting those dlls to work...

Says it cant load irklang wrapper2.dll

??
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 26th Mar 2008 18:25
try these one`s .

cant do anything more till i get my laptop back.

Do the exe demos work.

Attachments

Login to view attachments
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 18:40
i tryed the sound record one and it didnt but let me try this new download you gave me
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 26th Mar 2008 18:45
if it doesnt work i will make you a dll for recording iv`e found the source . The recording section is nothing to do with irrklang it uses the mci, i just used it in the wrapper because it was easier.

probably have it sorted for tommoro.

chunks
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 18:50
oh a quick question...

I noticed you have 2 files named irrklang wrapper2.dll files

one is 19k and the other 444k

Why is there 2 of em and wich goes where?

Also i got a little further to running it.... now it says it cant find the function ikstart@@... blah blah
(cant remember)
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 18:53
sweet

if you take the time to write me this dll to record that would be sweet

maby i can give you something in return?
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 26th Mar 2008 19:03 Edited at: 26th Mar 2008 19:05
ahh the dll at 444k must be put in with the exe you are making and the one at 18.5k must be in the user plugins ..

the one at 444k is actually the irrklang library that`s not mine.

I just did the wrapper to make it work with dbpro




problems could also be a vista xp thing ..

i`m on xp

no worries about making the dll it will give me somthing to do..
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 19:11
thanks....well theres my free music composer...lol

And i tried to re-arrange both of those files and they dont wanna work.

And i am running vista.....
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 26th Mar 2008 19:32
try this dll just whipped it up its just the recording commands.

just one dll in your user plugins .

try the example should record for 30 secs

Attachments

Login to view attachments
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 22:00
humm.... i tried it and it records for 0 seconds...lol

i tried your exe and it does appear to make a wav file...however
i tried to run it in dbpro and it runs then closes rightaway.

you have:


does it need to stay running for at least 30 seconds to record?



startrecord #chanels?,sample freq?,16bit?,30 seconds?
is that right?
then can i play my song data
then tell it to stop recording then save it to wav file

that would be good if it would record for 12 mins automaticaly and wait for the command stoprecording. since i have no idea how long every ones song is going to be


can there be a command to test if its still recording
to delete your recording and start recording again...play back of recording would be sweet too

Anyways thanks for helping me out.... I wonder if its not working because im missing something else you may have or the fact that im running vista?

anyways the example you posted records for 0 seconds....

and that may just be cause the app runs and closes right away


thanks again

Let me know if those other commands are possible?
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 26th Mar 2008 22:26 Edited at: 26th Mar 2008 22:38
on my comp the startrecord command waits until the 30 seconds is up and then carries on to save then shutsdown the recording device.

the whole app waits till its done.

probably a vista thing since vista uses that new audio thingy ..

bear with me a few days im looking into direct sound rather than mci. With direct sound youve got to parse the wav files yourself that should be fun lol..

[edit]

just been thinkin that way of recording is no good for your app, you need something that records and doesnt stop the app..

i will work on it for you it`s my new project now.
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 26th Mar 2008 23:14 Edited at: 26th Mar 2008 23:15
sweet

i sure wish i new how to do that stuff....
i only know basic.....ive been messing around with basic since the
radio shack trs-80's....lol
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 27th Mar 2008 18:19
ive only learning c++ getting used to it though its lots faster .

Login to post a reply

Server time is: 2024-11-23 02:49:26
Your offset time is: 2024-11-23 02:49:26