Welcome, Guest
Please Login or Register.    Lost Password?

Alarm sound doesn't work
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Alarm sound doesn't work
#13486
Re:Alarm sound doesn't work 4 Years ago  
The audio playback is handled by the wxWidgets which uses OSS by default (which seems to have some problems with pulseaudio and has therefore been disabled at least in the newer Ubuntu releases). I'll check if it's possible to use some other audio framework.
Rainy
Moderator
Posts: 6003
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#13490
Re:Alarm sound doesn't work 4 Years ago  
Rainy wrote:
The audio playback is handled by the wxWidgets which uses OSS by default (which seems to have some problems with pulseaudio and has therefore been disabled at least in the newer Ubuntu releases). I'll check if it's possible to use some other audio framework.

Is there any workaround? This feature is very important for an app like this.
JSimR
Ubuntu: Linux for human beings!
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Barcelona
Last Edit: 2010/10/16 14:12 By JSimR.
The administrator has disabled public write access.
Rainlendar Pro v2.9(b104) 64 bit (with licence) on Ubuntu 10.04
 
#13497
Re:Alarm sound doesn't work 4 Years ago  
This morning, when I turned on my PC, Rainlendar showed me one alarm and it rang.
But I have had several tests and it hasn't worked anymore!
Are you sure that this is a problem with pulseaudio?
JSimR
Ubuntu: Linux for human beings!
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Barcelona
The administrator has disabled public write access.
Rainlendar Pro v2.9(b104) 64 bit (with licence) on Ubuntu 10.04
 
#13513
Re:Alarm sound doesn't work 4 Years ago  
Kimmo Pekkola wrote in FAQs:
Does Rainlendar2 work in [insert your Linux distro here]?
The Linux version is compiled and tested in the latest version of Ubuntu.

Is this true?
JSimR
Ubuntu: Linux for human beings!
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Barcelona
The administrator has disabled public write access.
Rainlendar Pro v2.9(b104) 64 bit (with licence) on Ubuntu 10.04
 
#13519
Re:Alarm sound doesn't work 4 Years ago  
It might have been when the FAQ was written but not anymore. Currently the Linux version is build on Ubuntu 8.04. The audio in Rainlendar should work if the /dev/dsp device exists and writing something to it produces an audible sound.
Rainy
Moderator
Posts: 6003
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#13534
Re:Alarm sound doesn't work 4 Years ago  
Rainy wrote:
It might have been when the FAQ was written but not anymore. Currently the Linux version is build on Ubuntu 8.04. The audio in Rainlendar should work if the /dev/dsp device exists and writing something to it produces an audible sound.
Well, I've found the solution but it's a bit complicated because Ubuntu doesn't seems very interested in continuing the OSS4 support.

First at all. I have obtained this info from this blog: Howto Install OSS4 in ubuntu 10.04 (Lucid) for better sound quality

I'll explain that I've done:
  • Install the next packages: oss4-base oss4-dkms oss4-gtk
    But there is a problem, oss4-dkms package is erroneous in Lucid. The solution is install the next packages, in this order, from Maverick release (click the download links at page bottom):
    • oss4-base

    • oss4-dkms

    • The last package: oss4-gtk, we have to install from Lucid release:
      Code:

      sudo aptitude install oss4-gtk

  • In a terminal, run
    Code:

    sudo dpkg-reconfigure linux-sound-base

    Choose OSS. This should, among other things, prevent the ALSA modules from loading.

  • To configure Pulseaudio with OSS4:
    Edit the default configuration file:
    Code:

    gksu gedit /etc/pulse/default.pa

    Comment out the modules for automatic hardware detection, in my case they were this lines:
    Code:

    ### Automatically load driver modules depending on the hardware available
    #.ifexists module-udev-detect.so
    #load-module module-udev-detect
    #.else
    ### Alternatively use the static hardware detection module (for systems that
    ### lack udev support)
    #load-module module-detect
    #.endif


    Add the following line:
    Code:

    load-module module-oss device="/dev/dsp" sink_name=output source_name=input mmap=0

  • Configure Gstreamer for OSS4 output:
    • Install gstreamer0.10-plugins-bad:
      Code:

      sudo aptitude install gstreamer0.10-plugins-bad

    • Run
      Code:

      gstreamer-properties
      and set input and output to OSS.

  • Set up ALSA (or rather libasound) to output through OSS4 instead of the native ALSA drivers. Create a configuration file:
    Code:

    gedit ~/.asoundrc

    Insert the following:
    Code:

     pcm.!default
     {
       type oss
       device /dev/dsp
     }
     mixer.!default
     {
       type oss
       device /dev/dsp
     }



  • Add the following PPA to your Software Sources and run update-manager: https://launchpad.net/~dtl131/+archive/ppa
    This will enable Gnome audio output and volume management to use Gstreamer instead of Pulseaudio:
    Code:

    sudo add-apt-repository ppa:dtl131/ppa
    sudo aptitude update && sudo aptitude safe-upgrade


  • Configure applications that natively support it (e.g. Audacious, Audacity, Kdenlive, SMPlayer, VLC, Wine, etc.) to use OSS output.
    Many applications donít (or no longer) have native support for OSS. This is no problem, these should continue to work fine through Gstreamer, ALSA emulation or Pulseaudio.

  • Restart computer.

The collateral effect is that it seems we'll have better sound!

If you want reverse back this changes, read the last part of the entry blog.

Regards.
JSimR
Ubuntu: Linux for human beings!
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Barcelona
Last Edit: 2010/10/19 07:40 By JSimR.
The administrator has disabled public write access.
Rainlendar Pro v2.9(b104) 64 bit (with licence) on Ubuntu 10.04
 
Go to topPage: 123
get the latest posts directly to your desktop