irrKlang 1.0.4 released

Posted on:January 23 2008

irrKlang 1.0.4 was released today. As described in my last debugging adventure post, it also contains the first version of the audio recording interface. Currently windows only, full support on all platforms is planned for the 1.1 release. I think the interface is now quite ok, for recording a piece of audio and playing it back again, you only have to write something like this:

ISoundEngine* engine = createIrrKlangDevice();
IAudioRecorder* recorder = createIrrKlangAudioRecorder(engine);

recorder->startRecordingBufferedAudio();

printf("\nRECORDING. Press any key to stop...\n");
getch();
recorder->stopRecordingAudio();

// play the recorded audio, looped
recorder->addSoundSourceFromRecordedAudio("myRecordedVoice");
engine->play2D("myRecordedVoice", true);


Simple and understandable, isn't it? Of course there are additional, different ways to do this and to get access to the recorded audio data using IAudioRecorder, but this one shows the basics.





Comments:


why isnt the creation of the audioRecorder a memberfunction of the soundEngine?
Halan
Quote
2008-01-23 19:14:00


Please make irrEdit open source, if you don't have any time for it ...
shogun
Quote
2008-01-23 19:33:00


Nice Work. Don't forget to update http://www.ambiera.com/ 's main page under "Latest News"
MasterGod
Quote
2008-01-23 22:23:00


the factory function of the audio recorder isn't a member function because you can also create recorders without an existing ISoundEngine (currently it needs one, but this may be changed in the future) and also, you are able to mix devices in this way. For example using winmm to play back audio while using DS to record it.
niko
Quote
2008-01-24 07:27:00


"But which keys the any key?"

Nice work :-)
John
Quote
2008-01-25 09:13:00


@shogun: I wouldn't count on it going open source. I suspect niko is using this as a source of income. What's better do you think? His libraries getting a good amount of focus? Or niko having to get a full time job to support himself thus greatly limiting his development? :P
Frobozz
Quote
2008-01-27 12:12:00


hey..niko great job..but what about irredit..?great job though..keep it up ;)
tunde
Quote
2008-01-28 23:10:00


Add comment:


Posted by:


Enter the missing letter in: "Intern?tional"


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons