Closed rado84-github closed 2 years ago
Can you attach the sound file itself (maybe in a ZIP) to test
I've got no problem playing ogg or oga sounds, and just tested a random wav download and that's also fine. - this is on Mint with Cinnamon 5.2.7. Does your file play elsewhere nemo-preview, meda players etc?
steve@steve-Inspiron-5580:~$ file "/home/steve/Downloads/Random/Imperial March60.wav" /home/steve/Downloads/Random/Imperial March60.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 22050 Hz
Yes, it plays everywhere else - media players, my phone (I'm usin' it as a ringtone), even Firefox somehow managed to play it locally.
This is the wav file: Crisis on Infinite Earths.7z https://www67.zippyshare.com/v/PeOjFTt9/file.html
This is a recorded video for you to see it's not working: simplescreenrecorder-2022-05-27_17.04.37.mkv https://www67.zippyshare.com/v/62yuMpyw/file.html
OK thanks - so that file doesn't work for me either - previews OK with nemo-preview, plays ok in MPV, interestingly neither wav produce any sound in Celluloid.
Comparison between one non-working and one working wav file -
steve@steve-Inspiron-5580:~$ mediainfo '/home/steve/Downloads/Random/Supergirl - Crisis on Infinite Earths.wav'
General
Complete name : /home/steve/Downloads/Random/Supergirl - Crisis on Infinite Earths.wav
Format : Wave
File size : 2.70 MiB
Duration : 9 s 833 ms
Overall bit rate mode : Constant
Overall bit rate : 2 304 kb/s
Track name : Crisis on Infinite Earths
Performer : Supergirl
Director : Supergirl
Audio
Format : PCM
Format settings : Little / Signed
Codec ID : 00000001-0000-0010-8000-00AA00389B71
Duration : 9 s 833 ms
Bit rate mode : Constant
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 2.70 MiB (100%)
steve@steve-Inspiron-5580:~$ mediainfo '/home/steve/Downloads/Random/Imperial March60.wav'
General
Complete name : /home/steve/Downloads/Random/Imperial March60.wav
Format : Wave
File size : 2.52 MiB
Duration : 1 min 0 s
Overall bit rate mode : Constant
Overall bit rate : 353 kb/s
Audio
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 1 min 0 s
Bit rate mode : Constant
Bit rate : 352.8 kb/s
Channel(s) : 1 channel
Sampling rate : 22.05 kHz
Bit depth : 16 bits
Stream size : 2.52 MiB (100%)
It works ok if it's converted to vorbis
ffmpeg -i 'Supergirl - Crisis on Infinite Earths.wav' -codec:a libvorbis -qscale:a 10 'Supergirl - Crisis on Infinite Earths.oga'
I don't wanna degrade it by converting it to a lesser format.
I didn't know mediainfo could work in terminal. Seeing smurphos' last post, that gave me an idea what might be wrong and now I know for sure, after converting it to 16-bit using Audacity: Cinnamon doesn't support anything higher than 16-bit PCM WAV.
Issue Adding a startup sound (Starting Cinnamon, in my case) doesn't work. The sound doesn't get played at startup and also pressing the play button to hear the sound doesnt' do anything either.
Steps to reproduce
Expected behaviour A startup sound should be played and perfectly audible. Pressing the "play" button next to that sound should play it.
Other information I noticed that the file selector window lists only wav files, so I chose a wav file. The wav file is perfectly fine because I use as a ringtone on my smartphone and just for the test (to make sure it's fine) I tested it as a startup sound for Windows 10 - it plays just fine in Windows 10, so whatever is wrong here, it's in Cinnamon.