SOUND!

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Fri Jan 27, 2012 08:05

I try to relax to the sounds of.....they're here.

I am trying to relax *fires gun at zombies*

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Fri Jan 27, 2012 14:13

cisoun wrote:I coded an audio system here: https://github.com/cisoun/minetest

For the moment I didn't implemented it in the game but I know it works (I made some tests). It's just I didn't realised that sounds have to be hosted on the server and I don't feel to code the audio transfer so I gave up for the moment.
Also, I've got some exams soon and I don't really have the time to do this but I'll see the next month if I can do something for.


From what I've seen Tango has started working on the audio again which I think is based on your work: https://github.com/Oblomov/minetest/commits/sound
 

jn
Member
 
Posts: 106
Joined: Tue Jan 03, 2012 19:15

by jn » Fri Jan 27, 2012 20:50

For the "server-hosted sound files" part my upcoming texture cache improvements (not yet posted anywhere) might be useful. (I'm moving the file caching functionality to a separate class to better be able to extend it and do things like caching by checksum and data expiration)
But server-hosted sound files are probably something that can be implemented after the basic sound system is in place.
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Sat Jan 28, 2012 19:00

i can see that it wants to load it up but there are no files xD but i will happily wait :D
If you can think it, you can make it.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Sat Jan 28, 2012 19:20

jordan4ibanez wrote:i can see that it wants to load it up but there are no files xD but i will happily wait :D


If you create the sound folder in data/ then you can add some sounds from where ever (i used MC sounds at first but then switched to Dogers & kddekadenz sound pack).

If you add a ogg file named titlemusic.ogg into the sounds folder this will be played in the game menu, then you can also add some walking sounds which will also need to be renamed to match the material type i.e. default_stone_walk.ogg will be played whenever you walk on objects that have that sound assigned to them, same as default_sand_walk.ogg will be played whenever you walk on objects with that assigned.

Also I think celeron55 may have committed some test sound files to his randomstuff branch on github.
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Sun Jan 29, 2012 01:25

lmfao sound is good is pretty good :D
If you can think it, you can make it.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sun Jan 29, 2012 19:43

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all

stefan@stefan-PC:~/minetest_sound$ make -j2
[  1%] Built target jthread
[ 19%] Built target lua
[ 19%] mo update
[ 25%] Built target translations
[ 56%] Built target minetestserver
Linking CXX executable ../bin/minetest
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::init()':
audio.cpp:(.text+0x6d): undefined reference to `alcOpenDevice'
audio.cpp:(.text+0x84): undefined reference to `alcCreateContext'
audio.cpp:(.text+0x8f): undefined reference to `alcMakeContextCurrent'
audio.cpp:(.text+0xc8): undefined reference to `alListener3f'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::destroySource(SoundSource*)':
audio.cpp:(.text+0x11b): undefined reference to `alDeleteBuffers'
audio.cpp:(.text+0x12e): undefined reference to `alDeleteSources'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::setListenerPos(irr::core::vector3d<float>)':
audio.cpp:(.text+0x1b8): undefined reference to `alListener3f'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::~SoundSource()':
audio.cpp:(.text+0x1da): undefined reference to `alDeleteBuffers'
audio.cpp:(.text+0x1ea): undefined reference to `alDeleteSources'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::getGain()':
audio.cpp:(.text+0x24e): undefined reference to `alGetSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::setGain(float)':
audio.cpp:(.text+0x290): undefined reference to `alSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::getPitch()':
audio.cpp:(.text+0x2be): undefined reference to `alGetSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::setPitch(float)':
audio.cpp:(.text+0x2f8): undefined reference to `alSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::getState()':
audio.cpp:(.text+0x31e): undefined reference to `alGetSourcei'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::SoundSource(SoundBuffer*, SoundSource::Type)':
audio.cpp:(.text+0x479): undefined reference to `alGenBuffers'
audio.cpp:(.text+0x48c): undefined reference to `alGenSources'
audio.cpp:(.text+0x4b7): undefined reference to `alSource3f'
audio.cpp:(.text+0x52c): undefined reference to `alBufferData'
audio.cpp:(.text+0x546): undefined reference to `alSourcei'
audio.cpp:(.text+0x565): undefined reference to `alSourcei'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::shutdown()':
audio.cpp:(.text+0x751): undefined reference to `alcGetCurrentContext'
audio.cpp:(.text+0x760): undefined reference to `alcGetContextsDevice'
audio.cpp:(.text+0x773): undefined reference to `alcMakeContextCurrent'
audio.cpp:(.text+0x782): undefined reference to `alcDestroyContext'
audio.cpp:(.text+0x791): undefined reference to `alcCloseDevice'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundBuffer::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
audio.cpp:(.text+0x8cf): undefined reference to `ov_open'
audio.cpp:(.text+0x8df): undefined reference to `ov_info'
audio.cpp:(.text+0x930): undefined reference to `ov_read'
audio.cpp:(.text+0x963): undefined reference to `ov_clear'
CMakeFiles/minetest.dir/audio.cpp.o: In function `_ZN11SoundBuffer4loadESs.constprop.157':
audio.cpp:(.text+0x9e3): undefined reference to `ov_open'
audio.cpp:(.text+0x9f3): undefined reference to `ov_info'
audio.cpp:(.text+0xa40): undefined reference to `ov_read'
audio.cpp:(.text+0xa73): undefined reference to `ov_clear'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::play(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
audio.cpp:(.text+0x18a7): undefined reference to `alGenBuffers'
audio.cpp:(.text+0x18ba): undefined reference to `alGenSources'
audio.cpp:(.text+0x18e5): undefined reference to `alSource3f'
audio.cpp:(.text+0x195c): undefined reference to `alBufferData'
audio.cpp:(.text+0x1976): undefined reference to `alSourcei'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::setVolume(float)':
audio.cpp:(.text+0x173): undefined reference to `alListenerf'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::pause()':
audio.cpp:(.text+0x20c): undefined reference to `alSourcePause'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::play()':
audio.cpp:(.text+0x21c): undefined reference to `alSourcePlay'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::stop()':
audio.cpp:(.text+0x22c): undefined reference to `alSourceStop'
CMakeFiles/minetest.dir/audio.cpp.o: In function `PlaybackThread::Thread()':
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x1b): undefined reference to `alSourcePlay'
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x39): undefined reference to `alGetSourcei'
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x5f): undefined reference to `alDeleteBuffers'
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x6f): undefined reference to `alDeleteSources'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [bin/minetest] Fehler 1
make[1]: *** [src/CMakeFiles/minetest.dir/all] Fehler 2
make: *** [all] Fehler 2
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Krisi
Member
 
Posts: 41
Joined: Sat Oct 15, 2011 21:32

by Krisi » Sun Jan 29, 2012 23:10

sfan5 wrote:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all

stefan@stefan-PC:~/minetest_sound$ make -j2
[  1%] Built target jthread
[ 19%] Built target lua
[ 19%] mo update
[ 25%] Built target translations
[ 56%] Built target minetestserver
Linking CXX executable ../bin/minetest
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::init()':
audio.cpp:(.text+0x6d): undefined reference to `alcOpenDevice'
audio.cpp:(.text+0x84): undefined reference to `alcCreateContext'
audio.cpp:(.text+0x8f): undefined reference to `alcMakeContextCurrent'
audio.cpp:(.text+0xc8): undefined reference to `alListener3f'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::destroySource(SoundSource*)':
audio.cpp:(.text+0x11b): undefined reference to `alDeleteBuffers'
audio.cpp:(.text+0x12e): undefined reference to `alDeleteSources'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::setListenerPos(irr::core::vector3d<float>)':
audio.cpp:(.text+0x1b8): undefined reference to `alListener3f'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::~SoundSource()':
audio.cpp:(.text+0x1da): undefined reference to `alDeleteBuffers'
audio.cpp:(.text+0x1ea): undefined reference to `alDeleteSources'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::getGain()':
audio.cpp:(.text+0x24e): undefined reference to `alGetSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::setGain(float)':
audio.cpp:(.text+0x290): undefined reference to `alSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::getPitch()':
audio.cpp:(.text+0x2be): undefined reference to `alGetSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::setPitch(float)':
audio.cpp:(.text+0x2f8): undefined reference to `alSourcef'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::getState()':
audio.cpp:(.text+0x31e): undefined reference to `alGetSourcei'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::SoundSource(SoundBuffer*, SoundSource::Type)':
audio.cpp:(.text+0x479): undefined reference to `alGenBuffers'
audio.cpp:(.text+0x48c): undefined reference to `alGenSources'
audio.cpp:(.text+0x4b7): undefined reference to `alSource3f'
audio.cpp:(.text+0x52c): undefined reference to `alBufferData'
audio.cpp:(.text+0x546): undefined reference to `alSourcei'
audio.cpp:(.text+0x565): undefined reference to `alSourcei'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::shutdown()':
audio.cpp:(.text+0x751): undefined reference to `alcGetCurrentContext'
audio.cpp:(.text+0x760): undefined reference to `alcGetContextsDevice'
audio.cpp:(.text+0x773): undefined reference to `alcMakeContextCurrent'
audio.cpp:(.text+0x782): undefined reference to `alcDestroyContext'
audio.cpp:(.text+0x791): undefined reference to `alcCloseDevice'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundBuffer::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
audio.cpp:(.text+0x8cf): undefined reference to `ov_open'
audio.cpp:(.text+0x8df): undefined reference to `ov_info'
audio.cpp:(.text+0x930): undefined reference to `ov_read'
audio.cpp:(.text+0x963): undefined reference to `ov_clear'
CMakeFiles/minetest.dir/audio.cpp.o: In function `_ZN11SoundBuffer4loadESs.constprop.157':
audio.cpp:(.text+0x9e3): undefined reference to `ov_open'
audio.cpp:(.text+0x9f3): undefined reference to `ov_info'
audio.cpp:(.text+0xa40): undefined reference to `ov_read'
audio.cpp:(.text+0xa73): undefined reference to `ov_clear'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::play(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
audio.cpp:(.text+0x18a7): undefined reference to `alGenBuffers'
audio.cpp:(.text+0x18ba): undefined reference to `alGenSources'
audio.cpp:(.text+0x18e5): undefined reference to `alSource3f'
audio.cpp:(.text+0x195c): undefined reference to `alBufferData'
audio.cpp:(.text+0x1976): undefined reference to `alSourcei'
CMakeFiles/minetest.dir/audio.cpp.o: In function `Audio::setVolume(float)':
audio.cpp:(.text+0x173): undefined reference to `alListenerf'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::pause()':
audio.cpp:(.text+0x20c): undefined reference to `alSourcePause'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::play()':
audio.cpp:(.text+0x21c): undefined reference to `alSourcePlay'
CMakeFiles/minetest.dir/audio.cpp.o: In function `SoundSource::stop()':
audio.cpp:(.text+0x22c): undefined reference to `alSourceStop'
CMakeFiles/minetest.dir/audio.cpp.o: In function `PlaybackThread::Thread()':
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x1b): undefined reference to `alSourcePlay'
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x39): undefined reference to `alGetSourcei'
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x5f): undefined reference to `alDeleteBuffers'
audio.cpp:(.text._ZN14PlaybackThread6ThreadEv[PlaybackThread::Thread()]+0x6f): undefined reference to `alDeleteSources'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [bin/minetest] Fehler 1
make[1]: *** [src/CMakeFiles/minetest.dir/all] Fehler 2
make: *** [all] Fehler 2

Have you installed the OpenAL library?
3D Player in Minetest?! - New GUI and more graphic options
"Lets do this..." Ghost Riley
Linux needs a good ego-shooter!!...
Sorry for my bad english
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Jan 30, 2012 05:56

I installed libalut0 and libalut-dev
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Mon Jan 30, 2012 07:19

you need openal-dev and vorbis-dev
If you can think it, you can make it.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Mon Jan 30, 2012 18:25

sfan5 wrote:I installed libalut0 and libalut-dev


Your using the wrong sound branch I think, did you install cisoun's sound branch? if so thats the wrong one.

This is the newest sound branch: https://github.com/Oblomov/minetest/commits/sound
Its been re-based on 0.4 and is actively being updated by tango and celeron55 its originally based on cisouns code.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Jan 30, 2012 19:03

dannydark wrote:
sfan5 wrote:I installed libalut0 and libalut-dev


Your using the wrong sound branch I think, did you install cisoun's sound branch? if so thats the wrong one.

This is the newest sound branch: https://github.com/Oblomov/minetest/commits/sound
Its been re-based on 0.4 and is actively being updated by tango and celeron55 its originally based on cisouns code.

Oh! I used the wrong code
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Mon Jan 30, 2012 19:17

Haha ^_^ I know cisoun did some updates to the base audio stuff recently which I think tango might have merged with his branch although I'm not 100% sure about that ^_^
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Jan 30, 2012 19:28

I compiled the Sound-Branch, but I can't hear anything.
I also can't find any sound files
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Mon Jan 30, 2012 21:11

sfan5 wrote:I compiled the Sound-Branch, but I can't hear anything.
I also can't find any sound files

sfan..ill get ya something
If you can think it, you can make it.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Mon Jan 30, 2012 21:14

you will have to add the sound yourself.

1: Create folder data/sounds/
2: Grab Dogers & kddekadenz's sound pack: http://c55.me/minetest/forum/viewtopic.php?pid=2957#p2957
3: add sounds into sounds folder you will also need to rename the sounds so for walking sounds you would change them to: default_stone_walk1.ogg, default_stone_walk2.ogg etc etc and you can add menu music by adding a file and naming it titlemusic.ogg
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Jan 30, 2012 21:24

I always forget the important things.
Thanks for your Help!
Last edited by sfan5 on Mon Jan 30, 2012 21:24, edited 1 time in total.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Mon Jan 30, 2012 21:26

no problem ^_^
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Mon Jan 30, 2012 22:48

heres 3d client and sound starter kit lol http://www.mediafire.com/?wwrx9cxoaz9towj (for linux)
Last edited by jordan4ibanez on Mon Jan 30, 2012 22:48, edited 1 time in total.
If you can think it, you can make it.
 

User avatar
Dogers
Member
 
Posts: 94
Joined: Mon Jun 20, 2011 12:14

by Dogers » Tue Jan 31, 2012 13:22

Attention please ! I've updated the sound-pack because I've noticed that some ambient-looped sound were not looping correctly . I've fixed this and here's the new version of the archive :

http://www.mediafire.com/?7vk6tvvjr4ljjlr

Thanks for your comprehension !
Last edited by Dogers on Tue Jan 31, 2012 13:22, edited 1 time in total.
Dogers or dttdogers in-game
---------------------------------
My personal page : http://dttdogers.blogspot.com/
 

User avatar
Krisi
Member
 
Posts: 41
Joined: Sat Oct 15, 2011 21:32

by Krisi » Tue Feb 14, 2012 16:16

jordan4ibanez wrote:heres 3d client and sound starter kit lol http://www.mediafire.com/?wwrx9cxoaz9towj (for linux)

I have compiled that and always i start it, it comes fullscreen, although fullscreen is turned off in the minetest.conf. And with fullscreen i cant focus the MT window in the game and because of that i cant move or do anything.
3D Player in Minetest?! - New GUI and more graphic options
"Lets do this..." Ghost Riley
Linux needs a good ego-shooter!!...
Sorry for my bad english
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Tue Feb 14, 2012 17:25

Hmm well it seems sound doesn't work...

Downloaded the source from https://github.com/Oblomov/minetest/commits/sound
Installed libalut0, libalut-dev, openal-dev and vorbis-dev
(already have done apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev prior)
Downloaded http://www.mediafire.com/?wwrx9cxoaz9towj and snagged out the sounds and put in data/sounds/
cmake . -DRUN_IN_PLACE=1
make -j2
cd bin
./minetest

No sound. Linux Mint 12.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Wed Feb 15, 2012 13:30

RAPHAEL wrote:Hmm well it seems sound doesn't work...

Downloaded the source from https://github.com/Oblomov/minetest/commits/sound
Installed libalut0, libalut-dev, openal-dev and vorbis-dev
(already have done apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev prior)
Downloaded http://www.mediafire.com/?wwrx9cxoaz9towj and snagged out the sounds and put in data/sounds/
cmake . -DRUN_IN_PLACE=1
make -j2
cd bin
./minetest

No sound. Linux Mint 12.


gotta make your own
If you can think it, you can make it.
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Wed Feb 15, 2012 17:00

jordan4ibanez wrote:
RAPHAEL wrote:Hmm well it seems sound doesn't work...

Downloaded the source from https://github.com/Oblomov/minetest/commits/sound
Installed libalut0, libalut-dev, openal-dev and vorbis-dev
(already have done apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev prior)
Downloaded http://www.mediafire.com/?wwrx9cxoaz9towj and snagged out the sounds and put in data/sounds/
cmake . -DRUN_IN_PLACE=1
make -j2
cd bin
./minetest

No sound. Linux Mint 12.


gotta make your own


That's what I was saying I did? I compiled the thing twice with no sound either time. I followed the instructions in this thread as close as I could tell.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
IPushButton2653
Member
 
Posts: 666
Joined: Wed Nov 16, 2011 22:47

by IPushButton2653 » Wed Feb 15, 2012 23:11

I can't compile, but I like it quiet. So that helps. I'd rather listen to John Lennon (hence my in-game name) sing a few songs rather than listen to whatever it is that the sound does
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Wed Feb 15, 2012 23:33

IPushButton2653 wrote:I can't compile, but I like it quiet. So that helps. I'd rather listen to John Lennon (hence my in-game name) sing a few songs rather than listen to whatever it is that the sound does


true, winamp does all my needs.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

kahrl
Member
 
Posts: 236
Joined: Fri Sep 02, 2011 07:51

by kahrl » Thu Feb 16, 2012 00:05

Don't worry, there will be a volume option :P
 

User avatar
TForsman
Member
 
Posts: 15
Joined: Mon Aug 01, 2011 20:19

by TForsman » Thu Feb 16, 2012 10:29

I built minetest with sound in Foresight Linux.
First you must make sure you have libvorbis-devel 1.3.* installed, cant be 1.2.* or it won't work.

Also add the sound in folder: /usr/share/minetest/sounds/
So not in a /data/ folder, that won't work either.

Make sure you have right names of the sound files, or they won't play either.
/usr/share/minetest/sounds/titlemusic.ogg <--- gives sound right away, when starting it up.

New dependencies from "default" minetest is:
'libogg:devel', 'libvorbis:devel', 'openal:devel'

your filenames might be: libogg-devel or similar.


Hopefully this might help you.
Foresight | Blog | I've heard: When the RedHat developers present new packages to Linux User-Group, before the meeting is over,Foresight people will have downloaded the source, created a Foresight package, uploaded it,and it will be available for anyone to use.
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Thu Feb 16, 2012 12:27

TForsman wrote:I built minetest with sound in Foresight Linux.
First you must make sure you have libvorbis-devel 1.3.* installed, cant be 1.2.* or it won't work.

Also add the sound in folder: /usr/share/minetest/sounds/
So not in a /data/ folder, that won't work either.

Make sure you have right names of the sound files, or they won't play either.
/usr/share/minetest/sounds/titlemusic.ogg <--- gives sound right away, when starting it up.

New dependencies from "default" minetest is:
'libogg:devel', 'libvorbis:devel', 'openal:devel'

your filenames might be: libogg-devel or similar.


Hopefully this might help you.


Doesn't work still. I had installed those dependencies already (just verified) and tried putting the sounds under /usr/share/minetest/sounds and still no sound.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Thu Feb 16, 2012 13:06

should be in data MINETESTDIR/data/sound(s)
If you can think it, you can make it.
 

PreviousNext

Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 19 guests

cron