I manage to import wav files onto Blender succesfully.
However I am not able to make them sound when I press Alt+A alongside the video tracks. Is this the way it is supposed to work? Just like a typical NLE video edition system?
I tried leaving the mouse pointer on the sequence-strips window when pressing Alt+A. Nothing sounds. On top of the sequence output image preview window (sequence monitor): nothing sounds.
Sound works ok on my system when I am outside Blender: AMD Athlon XP 1600+ 1 Gb RAM with Debian GNU Linux Testing (Etch) branch.
No, Andy; I am not importing the wav in the audio window; but right onto the sequencer window; that with the strips.
Anyway I forgot to mention the console output:
Couldn't open audio: DMA memory map failed
Couldn't open audio: No available audio device
What’s this? Sound card ISA pnp 16 bits Sound Blaster Awe Gold works flawless outside blender with Mplayer, Mencoder, audio and video capture, VLC and the like…
Are you using Blender under KDE?
If yes try another desktop ( maybe Gnome or even better Windomaker)
Now sound works?
No? Have you SDL installed ( or libsdl)?
Blender need it
Bye
Yes; as far as I am concerned, Debian is simply ‘beautiful’. I use a very simple desktop: Blackbox; which I deeply love because of its humbleless and proficiency.
Am I still needing SDL or Libsdl?
If so I’d really love to study hard about those packages. Do you think that could help?
Many thanks to you and the community.
ORANGE PROJECT is an inspiration source for many artists…I want to finish my own teaser 100% free software finished: lighting, modelling, rendering and editing under Blender3D; compositing and layout under GiMP; both programs running under Debian GNU Linux.
And now I am having this sound issue…pity…I tried WinXP version of Blender 2.37…audio works ok.
…Tears…
I have to fight against my own fears…this is not so easy at times…help, community!!!
Me ( and the community) will not abandon your 100% free teaser?
Thanx, Oto. I hope to solve this issue and continue the workflow normally. As for the teaser it is expected to be something really free-spirited inside the marcus of “free-as-in-freedom” GNU thing. This will be the teaser for the short-film which is in the works and that will be available on my web to download, along the source .blend files for every shot (of course).
And as for the sound issue: I checked your suggestions. I installed synaptic and selected libsdl1.2_alsa. Installed it ok. But sound still refuses to emerge.
"…and sound at least "
I don’t get this, sorry. Which package?
Thank you for your support. Needless to say I tried opening Blackbox session as root -chances are wrong privileges on the device-, but this was not the case.
—Wrong. It really matters, I realized. Just to correct. For some -unknown- reason, blender is not able to open the sound device. Checked the permissions on /dev/dsp (which has a symbolic link to dsp0), and by the way I changed permissions to all dsp’s.
chmod 777 dsp*
No luck; doesn’t work.
Full console message:
ALSA lib pcm_dmix.c:802:(snd_pcm_dmix_open) unable to open slave
Couldn't open audio: No available audio device
I’m running straight Sarge 3.1 Debian with some “instable” packages
I have an old Sound Blaster pci 128 that works quite well, unless with KDE, because
the %&/@@ ARTS demon sometimes don’t let some apps get the sound device…
ex: XMMS
Have you installed Alsa utils and configured the Alsa driver?
Type alsaconf in a xterm as root and follow the instructions
Install libsdl-sound1.2 ( it’s just some tools)
them in a xterm type
playsound /path to a WAV file somewhere in your HD
Now, if all’s fine you should hear your WAV file ( to stop it? kill the processus )
Sound? YEAHHH No sound? Euh I don’t know…
—Well, I am running both testing and sid. As I told, my Creative Soundblaster works flawlessly outside Blender.
I have an old Sound Blaster pci 128 that works quite well, unless with KDE,
—It seems your card and mine are very similar…
Have you installed Alsa utils and configured the Alsa driver?
—Well, I have got Alsa Mixer Gui and Alsa Utils already installed. Anyway I followed your instructions…
Install libsdl-sound1.2 ( it’s just some tools)
—Package installed ok.
them in a xterm type
playsound /path to a WAV file somewhere in your HD
playsound /home/juan/song.wav
Sound comes out perfectly thru my Creative Soundblaster PCI 128, connected to the speakers.
No sound? Euh I don’t know…
Not within Blender. Console keeps telling
Couldn't open audio: No available audio device.
On the other side my system has got onboard sound. This means that I have got two sound systems in the box: one is onboard; the other is PCI sound card. The onboard one is a SiS chipset. I don’t know if giving it a try makes sense or not. Firstly because the PCI card is much better; and secondly because the card WORKS, so it is not a sound-card or system malfunction…
I am at a loose end…Don’t know what to try…Do you have got Blender running with sound under Debian? Hmmm…sounds very strange…
On the other side my system has also got onboard sound as well. The onboard one is a SiS chipset. I don’t know if giving it a try makes sense or not.
----Well; it maybe makes sense; but unfortunately does not solve things. Onboard chip works ok with the “playsound whatever/the/path.wav” option from console. For a VERY strange reason Blender -any version: 2.36, 2.37a and 2.40 alpha 1- refuses to sound.
Choose wathever:
Disable the onboard soundcard on the BIOS settings ( if not done yet)
Run alsaconf as root, go to the ALSA site, browse for your card and add the
given settings to your ~.asound.rc ( need to creat it maybe)
something like this:
----I created a .asoundrc file by hand and stored it in my /home/juan folder; as the alsa site says. As I am at work now, the audio chipset of the computer differs from those in my studio: this is an Intel 8x0; so the file I created was something like
pcm.intel8x0 {
type hw
card 0
}
ctl.intel8x0 {
type hw
card 0
}
Nothing worked. I opened X and Blender as root; even restarted the system (which was not necessary anyway) and lanuched blender 2.37a from console: When trying to play any .wav console keeps telling the same “Couldn open audio: No avaliable audio device found blah blah blah…”
But there is a point which is not clear, Oto: you mentioned a “~.asoundrc” file, but the alsa site mentions a “.asoundrc” file (without the “~”). I don’t know if this is important or not. The file I created does not contain the “~” in its filename.
Audio still refuses to work in Blender.
Any ideas? Sorry for the inconvenience. Probably the solution may be easier than supposed. I hope so…
—One more thing relating to console messages: If I start Blender from console; then switch to sequence editor window and then try to open an audio file; console instantly replies
fcntl: Invalid argument
fcntl: Invalid argument
But audio gets imported. Later on, when trying to play it, the “couldn’t open audio-no avaliable audio device” msg pops.
We start to know each other well
I guess that know you know that I’m a though guy
Well I guess that you have done the alsaconf thing?!
OK…euhhh…Have you tried the Blender DEB version ( well, never knows, in
my system both versions work).
Try the KDE desktop
Check the loaded modules
lsmod in a xterm, gives me those sound related modules:
Blender DEB version? What is it? Apt-get update and then apt-get install blender?
Try the KDE desktop
Ok, Iĺl try it…pity; I was very happy with blacKbox…Let’s give KDE a try…though installing it will be about half an hour long and 390 mb to download and uncompress…
Check the loaded modules
lsmod in a xterm, gives me those sound related modules:
----Hmmm…I am not very familiar with lsmod. But I’ve noticed that some of the parameters in my lsmod output slighly differ from yours, i.e: snd_ens1371 shows 25252 0 (instead of 1); snd_pcm_oss shows 48168 0…maybe I should read the lsmod documentation a bit…
try to play/REC with let’s say Audacity
Ok, I shall try audacity when I’m finished with the installation of KDE. I shall post the results.
Dear Oto and friends at Elysiun: Audacity sounds wonderful. I installed KDE and GNOME under Debian Sarge 3.1. I tested Audacity under Gnome and under KDE. Everything works ok within Audacity. Unfortunately no sound comes out of blender: I am beggining to think that this is a real mistery.
Blender for windows XP works perfectly. But I MUST use Blender for Linux for the project to make sense. I tried both the static and the dynamic versions. Which version do you use? Did you say you run Blender under KDE w/Debian Sarge?
—This version was the first I tested; and in fact it is where I discovered the problem.
But probably the problem is Openal, you don’t have it installed maybe?!
Bye
----Got all the packages and libraries related to Openal that “apt-cache search openal” reveals.
----Blender still refuses to sound.
Thanks in advance,
Juan.
Madrid, Spain.
P.S.: IS THIS GOING TO BE A TWO-MOUTH-ONLY DIALOGUE BETWEEN OTO AND JUAN? WHERE ARE ALL THE BLENDERHEADS, GURUS, FORUM-MONKEYS, FORUM-DOGS, FORUM-CATS, FORUM-COCKROACHES OR FORUM-BIRDS OUT THERE? Does every blender under Debian work flawless with audio?
It is CLEARLY a fault of Blender, dammit!!! Audio hardware works smoothly under VLC, Mplayer, Audacity, Playsound, Mencoder…IT IS JUST WITHIN BLENDER ONLY!!!
Oto is trying really hard. Is him the only guy in the world -besides me- that uses Blender under Debian?