Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gapless music looping/playback

#1
Music 
Currently music looping in Xonotic is not gapless, discouraging the usage of perfectly looping songs. It always has this short break/stop/stutter before the music continues from the beginning again after playback.

This can even be noticed with songs that aren't really meant to perfectly loop (music in Afterslime is a good example), it's just a little bit disturbing, sounds cheap too.

All in all not a very big issue with tremendous priority, but would be a nice thing to have at some point Smile
[Image: 4766.png]
[My personal website: AquaNova ] - <> - [Ingame: <PsyX> :::: <-Archer-< :::: ]
Reply

#2
Strange. I thought it was perfect! I'm on Linux.
What OS are you running Xonotic on?
Maybe it's something OS-dependant.
I'm making Liblast - a FOSS online FPS game made with Godot 4 and a 100% open-source toolchain
Reply

#3
(07-31-2014, 06:58 PM)unfa Wrote: Strange. I thought it was perfect! I'm on Linux.
What OS are you running Xonotic on?
Maybe it's something OS-dependant.

Windows 7 Ultimate 64 bit

I'll record what I mean so it can be judged more accurately.
[Image: 4766.png]
[My personal website: AquaNova ] - <> - [Ingame: <PsyX> :::: <-Archer-< :::: ]
Reply

#4
(07-31-2014, 10:47 PM)Archer Wrote: I'll record what I mean so it can be judged more accurately.

I should do the same. What map will you use? The best would be to record the same track and compare.
I'm making Liblast - a FOSS online FPS game made with Godot 4 and a 100% open-source toolchain
Reply

#5
(08-01-2014, 05:34 PM)unfa Wrote:
(07-31-2014, 10:47 PM)Archer Wrote: I'll record what I mean so it can be judged more accurately.

I should do the same. What map will you use? The best would be to record the same track and compare.

Afterslime Tongue
[Image: 4766.png]
[My personal website: AquaNova ] - <> - [Ingame: <PsyX> :::: <-Archer-< :::: ]
Reply

#6
Hmm. I've tried recording Afterslime, but the track isn't looped (also I think this music could really use some variation - mostly it's just on loop over and over).

Anyway - by comparing recorded in-game and source music file I was able to measure the gap - it's about 1 ms (~25 samples):
   
I really think the game plays it back gaplessly, I had some trouble because I use 48 kHz mixing in Xonotic, so the recorded music was resampled and didn't match perfectly with the original after resampling it again (I wasnt able to acheive perfect cancellation with one signal having inverted polarity).

If you send me your in-game recorded music, I can measure the gap for you.
I'm making Liblast - a FOSS online FPS game made with Godot 4 and a 100% open-source toolchain
Reply

#7
(08-05-2014, 12:35 PM)unfa Wrote: Hmm. I've tried recording Afterslime, but the track isn't looped (also I think this music could really use some variation - mostly it's just on loop over and over).

Anyway - by comparing recorded in-game and source music file I was able to measure the gap - it's about 1 ms (~25 samples):

I really think the game plays it back gaplessly, I had some trouble because I use 48 kHz mixing in Xonotic, so the recorded music was resampled and didn't match perfectly with the original after resampling it again (I wasnt able to acheive perfect cancellation with one signal having inverted polarity).

If you send me your in-game recorded music, I can measure the gap for you.
I can measure it myself too Tongue

But I don't have time to check it out yet, will be very busy until wednesday next week, after that I can test this and also work on the trailer.
[Image: 4766.png]
[My personal website: AquaNova ] - <> - [Ingame: <PsyX> :::: <-Archer-< :::: ]
Reply

#8
Okay Smile See you around later!
I'm making Liblast - a FOSS online FPS game made with Godot 4 and a 100% open-source toolchain
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  MUSIC THREAD FOR ALL MUSIC kay 590 675,257 11-11-2021, 10:41 AM
Last Post: chooksta
  An attempt to produce a background music - decadium derrant 2 2,192 09-12-2020, 11:18 AM
Last Post: derrant
Music Music from out side forum Kotangens 4 2,805 08-30-2020, 04:14 PM
Last Post: LegendGuard
  [NEED HELP] Xonotic music has Royalty? Narutex216Bits 1 2,383 04-07-2020, 07:48 AM
Last Post: DarkFox
  Xonotic OST (Officially Accepted Music) Mirio 18 33,148 07-01-2019, 10:45 AM
Last Post: martin-t
  Free sfx for your music. djwayn 1 5,106 05-25-2018, 01:06 PM
Last Post: djwayn
Music Go Get 'em - Music Track by The Audio Monkey TheAudioMonkey 16 15,606 03-14-2017, 03:57 PM
Last Post: TheAudioMonkey
Music Low interest in music development - why? unfa 28 30,047 07-08-2016, 01:01 PM
Last Post: Jar-El
  I would like to use Xonotic's music in my Red Eclipse fork 98digger 3 5,716 08-23-2015, 11:49 PM
Last Post: machine!
  Orchestral music for Xonotic BuddyFriendGuy 9 13,972 07-23-2015, 12:04 PM
Last Post: BuddyFriendGuy

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-