Questions tagged [irrklang]

irrKlang is a powerful high level API for playing back sound in 3D and 2D applications like games, scientific visualizations and multimedia applications. irrKlang is free for non commercial use. There is also an advanced version of irrKlang named 'irrKlang pro' which can be purchased for a small license fee and may be used in commercial products.

Supported File Formats:

irrKlang currently plays back the following file formats:

  • RIFF WAVE (*.wav)
  • Ogg Vorbis (*.ogg)
  • MPEG-1 Audio Layer 3 (*.mp3) (see Note)
  • Free Lossless Audio Codec (*.flac)
  • Amiga Modules (*.mod)
  • Impulse Tracker (*.it)
  • Scream Tracker 3 (*.s3d)
  • Fast Tracker 2 (*.xm)

In addition, it is easily possible to extend the playable file formats using plugins. If you need irrKlang to playback a file format it doesn't support yet, just contact us and we can add it for you.

Note: MP3 playback is done via a plugin which comes along with irrKlang (and its full source code) so that it is easily possible to remove mp3 support if wished. If you are using mp3 playback in your application, you might need to purchase an mp3 license from Thompson Multimedia as most software using mp3s has to, although there are special prices and conditions for games.

Official Website: http://www.ambiera.com/irrklang/

Useful Links:

21 questions
2
votes
1 answer

Using IrrKlang with Ogre

I'm trying to set up sound in my Ogre3D project. I have installed irrKlang 1.4.0 and added it's include and lib directories to my projects VC++ Include and Library directories, but I'm still getting a Linker error when I attempt to build. Any…
Vinnie
  • 35
  • 3
1
vote
2 answers

Binary file not executable - c++ & irrklang

I have problems in using the irrklang library. I downloaded the .zip file from https://www.ambiera.com/irrklang/downloads.html. I have a MacBookPro with Mojave 10.14.6. I tried to compile the following source code: #include #include…
Eddymage
  • 1,008
  • 1
  • 7
  • 22
1
vote
1 answer

Error after saving .wav file

I'm using irrKlang to get audio input from a mic. That part works great, but I'm having problems saving the output to a .wav... The wave file appears to save ok, but it doesn't seem to play. I'm wondering if my header is some how formatted wrong: …
Taurian
  • 1,660
  • 7
  • 20
  • 28
1
vote
0 answers

Unresolved External Symbol error in irrKlang createsounddevice()

Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) class irrklang::ISoundEngine * __cdecl irrklang::createIrrKlangDevice( enum irrklang::E_SOUND_OUTPUT_DRIVER,int,char const *,char const…
0
votes
1 answer

Cannot open shared object file when trying to use shared library

I am trying to implement sound in my program using the IrrKlang library. I am in Ubuntu 22.04 LTS and using g++ version 11.3.0. The program compiles but when I try to run it I get this error message: ./main: error while loading shared libraries:…
0
votes
0 answers

CMake undefined reference to irrklang

I'm trying to link up CMake for a old project, this is the relevant structure: Project -build -src -res/include/irk -all the irrklang header files In my top-level CMakeLists.txt I have: target_include_directories(${PROJECT_NAME}…
agent25
  • 47
  • 9
0
votes
1 answer

irrklang sound won't play when used with irrklang::ISound

I am fairly new to c++, just want to get that out there. I'm trying to play a sound before the program continues. Irrklang says it loads the file right but I can't hear anything. I have tested irrklang itself which works perfectly fine in this…
Sean Kuehl
  • 11
  • 2
0
votes
1 answer

Visual Studio is not compiling due to lib error

i installed "Irrklang" sound library to include it in a project, but whenever i try to compile, i get errors like that Severity Code Description Project File Line Suppression State Error unexpected token '\b' …
0
votes
1 answer

irrKlang sound has wrong play length

I try to play a wav file which has a length of 27 seconds, but getPlayLength() returns 143 ms. This is my code: auto m_pSoundEngine = irrklang::createIrrKlangDevice(); auto m_pSound = m_pSoundEngine->play2D("G:\\SomeAbsolutePath\\3_Tenor.wav",…
Jan Feldmann
  • 378
  • 5
  • 13
0
votes
1 answer

IrrKlang Sound Library and Stop Event threads

I have a question about using external c++ library (irrKlang.dll) which is an audio playback engine. Now, the problem is that when I get a SoundStopped event out of it, and do an action in the main form, all kinds of stack related errors arise. Let…
0
votes
0 answers

undefined reference with irrklang code blocks

I'm losing hope to finish my work. I did a game with irrlicht on Code Blocks. I linked irrlicht it works but impossible to link irrKlang... It shows me the same message each time. x86_64-w64-mingw32-g++.exe -Llib\irrlicht-1.8.3\lib\Win32-gcc…
killmat
  • 113
  • 1
  • 4
0
votes
1 answer

irrklang engine was not declared at void

EDIT 2: Solved! Use the code below and it worked! irrklang::ISoundEngine* engine = irrklang::createIrrKlangDevice(); Just place the code above at the top of the code. (Maybe the next line of include or namespace) I'm using irrKlang to play audio…
user5269492
0
votes
1 answer

C++ IrrKlang sound error- CreateIrrKlangDevice() results in undefined refrence to (really long refrence)

Recently, I have downloaded the Irrklang sound library to use with my C++ programs. To test it out, I have Installed and linked the library in Code::Block's compiler settings and in my projects build settings. However, whenever I try to build & run…
Johnny Sasaki
  • 45
  • 1
  • 1
  • 5
0
votes
0 answers

Irrklang Frequency Spectrum with C++

As someone with absolutely no experience in how audio works, I'm want to make a real-time frequency spectrum with audio that I'm currently playing through irrklang. Ideally, I would like to have db values of different frequencies in an array of…
Kevin Pei
  • 5,800
  • 7
  • 38
  • 55
0
votes
0 answers

Integrating audio files (specifically MP3) with c++ Win32 API?

I've been using the irrKlang library to play all sorts of audio files, mostly MP3s, for my applications. However those are console applications since the irrKlang engine is built that way. Now I would like to build GUIs integrated with audio and…
sg185
  • 13
  • 4
1
2