Please test Immersive Sounds Fast Server Mod

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

Please test Immersive Sounds Fast Server Mod

by Neuromancer » Tue Jun 18, 2013 02:55

I took the Immersive Sounds Mod and trimmed it way back so that it would work and load fast on servers. Would any of you server providers please try this mod on a server to see if it actually works and give feedback on how it works for you in your environment?

It is here: https://github.com/Neuromancer56/MinetestAmbienceServer/archive/master.zip

Much appreciated!
Last edited by Neuromancer on Tue Jun 18, 2013 02:55, edited 1 time in total.
 

User avatar
Inocudom
Member
 
Posts: 3072
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Tue Jun 18, 2013 04:21

I too hope that servers will test this. This mod really adds to the Minetest experience.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/
 

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Wed Jun 19, 2013 02:44

I just made a change to the server version of this mod to fix it so that the sounds end more when they should, and added a little more variety in waves and crickets volume.
Last edited by Neuromancer on Wed Jun 19, 2013 02:44, edited 1 time in total.
 

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Thu Jun 20, 2013 02:03

Just got done adding in seagulls, and greatly improving the waves, desert, and crickets sounds. Much smoother.
Last edited by Neuromancer on Thu Jun 20, 2013 02:22, edited 1 time in total.
 

User avatar
Inocudom
Member
 
Posts: 3072
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Thu Jun 20, 2013 03:15

If you manage to find ways to make sounds smaller in file size without hurting their quality, will you apply that method to the main version as well?
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/
 

mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Thu Jun 20, 2013 14:52

Converting to mono saves space/DL time and allows you to play the clips by position if you ever decide to do fadein/fadeout. The SL version is all mono, though it doesn't have all the clips of the original.
 

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Fri Jun 21, 2013 01:13

Yeah, pretty much what I did was ditch the songs because they are so long. Then I converted everything from stereo to mono, and shortened their length.

Everything Original Size 12mb.
Everything to Mono & most sounds shortened & mono 4.5mb
All to mono & ditch songs 1.4 mb

So I'm not sure what you are looking for, do you want me to convert the songs to mono? That will only cut the size in half from the original version.
Last edited by Neuromancer on Sun Jun 23, 2013 14:28, edited 1 time in total.
 

mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Fri Jun 21, 2013 16:54

Nevermind then if you already converted the clips to mono :p Do the clips still play to the player or do you chose random positions around the player?
 

trukoil
Member
 
Posts: 145
Joined: Mon Oct 22, 2012 03:32
Location: Minetest

by trukoil » Sat Jun 22, 2013 10:40

Neuromancer wrote:Original Size 12gb.
Songs to Mono 6gb.
All to mono & ditch songs 1.4 gb


Just a question, there are many songs or that's their weight in wav?

Also, you can try joint stereo to save space for stereo songs, instead of making them mono.
Last edited by trukoil on Sat Jun 22, 2013 10:41, edited 1 time in total.
I don't always sign a post
but when i do, i dig.
 

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Sat Jun 22, 2013 17:45

mauvebic wrote:Nevermind then if you already converted the clips to mono :p Do the clips still play to the player or do you chose random positions around the player?

I got/stole the idea for going to mono from your version. :) The clips still play to the player. The random positions would be a better option but haven't messed with that yet.
 

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Sat Jun 22, 2013 17:46

trukoil wrote:
Neuromancer wrote:Original Size 12gb.
Songs to Mono 6gb.
All to mono & ditch songs 1.4 gb


Just a question, there are many songs or that's their weight in wav?

Also, you can try joint stereo to save space for stereo songs, instead of making them mono.

I'll give it a try and compare the compression rates.
 

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Sat Jun 22, 2013 19:42

trukoil wrote:
Neuromancer wrote:Original Size 12gb.
Songs to Mono 6gb.
All to mono & ditch songs 1.4 gb


Just a question, there are many songs or that's their weight in wav?

Also, you can try joint stereo to save space for stereo songs, instead of making them mono.

Hmmm I only see joint stereo when I export to mp3. Unfortunately Minetest only takes .ogg's. Is there another way to do this?
 

trukoil
Member
 
Posts: 145
Joined: Mon Oct 22, 2012 03:32
Location: Minetest

by trukoil » Sun Jun 23, 2013 03:25

It seems that Ogg doesn't support it.

Btw, 12 GB for all songs? They are uncompressed right?
I don't always sign a post
but when i do, i dig.
 

User avatar
Neuromancer
Member
 
Posts: 795
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Sun Jun 23, 2013 14:24

trukoil wrote:It seems that Ogg doesn't support it.

Btw, 12 GB for all songs? They are uncompressed right?

Sorry I meant megabytes. And all the songs compressed but stereo come to 6.5 megabytes for just the songs.

I revised the post above to include these better numbers:

Everything Original Size 12mb.
Everything including songs to Mono & most sounds shortened 4.5mb
All to mono & ditch songs 1.4 mb
Last edited by Neuromancer on Sun Jun 23, 2013 14:31, edited 1 time in total.
 

trukoil
Member
 
Posts: 145
Joined: Mon Oct 22, 2012 03:32
Location: Minetest

by trukoil » Mon Jun 24, 2013 21:16

Well, that's better now XD
I used to have a texture pack versions before the current one, installed on my client only, but now i think isn't possible and the client fetches the mods from the server, so client side sound couldn't be possible.

But, let's take a look at ogg encoder options
Code: Select all
oggenc from vorbis-tools 1.4.0 by the Xiph.Org Foundation (http://www.xiph.org/)

Usage: oggenc [options] inputfile [...]

OPTIONS:
 General:
 -Q, --quiet          Produce no output to stderr
 -h, --help           Print this help text
 -V, --version        Print the version number
 -k, --skeleton       Adds an Ogg Skeleton bitstream
 -r, --raw            Raw mode. Input files are read directly as PCM data
 -B, --raw-bits=n     Set bits/sample for raw input; default is 16
 -C, --raw-chan=n     Set number of channels for raw input; default is 2
 -R, --raw-rate=n     Set samples/sec for raw input; default is 44100
 --raw-endianness     1 for bigendian, 0 for little (defaults to 0)
 -b, --bitrate        Choose a nominal bitrate to encode at. Attempt
                      to encode at a bitrate averaging this. Takes an
                      argument in kbps. By default, this produces a VBR
                      encoding, equivalent to using -q or --quality.
                      See the --managed option to use a managed bitrate
                      targetting the selected bitrate.
 --managed            Enable the bitrate management engine. This will allow
                      much greater control over the precise bitrate(s) used,
                      but encoding will be much slower. Don't use it unless
                      you have a strong need for detailed control over
                      bitrate, such as for streaming.
 -m, --min-bitrate    Specify a minimum bitrate (in kbps). Useful for
                      encoding for a fixed-size channel. Using this will
                      automatically enable managed bitrate mode (see
                      --managed).
 -M, --max-bitrate    Specify a maximum bitrate in kbps. Useful for
                      streaming applications. Using this will automatically
                      enable managed bitrate mode (see --managed).
 --advanced-encode-option option=value
                      Sets an advanced encoder option to the given value.
                      The valid options (and their values) are documented
                      in the man page supplied with this program. They are
                      for advanced users only, and should be used with
                      caution.
 -q, --quality        Specify quality, between -1 (very low) and 10 (very
                      high), instead of specifying a particular bitrate.
                      This is the normal mode of operation.
                      Fractional qualities (e.g. 2.75) are permitted
                      The default quality level is 3.
 --resample n         Resample input data to sampling rate n (Hz)
 --downmix            Downmix stereo to mono. Only allowed on stereo
                      input.
 -s, --serial         Specify a serial number for the stream. If encoding
                      multiple files, this will be incremented for each
                      stream after the first.
 --discard-comments   Prevents comments in FLAC and Ogg FLAC files from
                      being copied to the output Ogg Vorbis file.
 --ignorelength       Ignore the datalength in Wave headers. This allows
                      support for files > 4GB and STDIN data streams.

 Naming:
 -o, --output=fn      Write file to fn (only valid in single-file mode)
 -n, --names=string   Produce filenames as this string, with %a, %t, %l,
                      %n, %d replaced by artist, title, album, track number,
                      and date, respectively (see below for specifying these).
                      %% gives a literal %.
 -X, --name-remove=s  Remove the specified characters from parameters to the
                      -n format string. Useful to ensure legal filenames.
 -P, --name-replace=s Replace characters removed by --name-remove with the
                      characters specified. If this string is shorter than the
                      --name-remove list or is not specified, the extra
                      characters are just removed.
                      Default settings for the above two arguments are platform
                      specific.
 --utf8               Tells oggenc that the command line parameters date, title,
                      album, artist, genre, and comment are already in UTF-8.
                      On Windows, this switch applies to file names too.
 -c, --comment=c      Add the given string as an extra comment. This may be
                      used multiple times. The argument should be in the
                      format "tag=value".
 -d, --date           Date for track (usually date of performance)
 -N, --tracknum       Track number for this track
 -t, --title          Title for this track
 -l, --album          Name of album
 -a, --artist         Name of artist
 -G, --genre          Genre of track
 -L, --lyrics         Include lyrics from given file (.srt or .lrc format)
 -Y, --lyrics-language  Sets the language for the lyrics
                      If multiple input files are given, then multiple
                      instances of the previous eight arguments will be used,
                      in the order they are given. If fewer titles are
                      specified than files, OggEnc will print a warning, and
                      reuse the final one for the remaining files. If fewer
                      track numbers are given, the remaining files will be
                      unnumbered. If fewer lyrics are given, the remaining
                      files will not have lyrics added. For the others, the
                      final tag will be reused for all others without warning
                      (so you can specify a date once, for example, and have
                      it used for all the files)

INPUT FILES:
 OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or AIFF/C
 files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. Files
  may be mono or stereo (or more channels) and any sample rate.
 Alternatively, the --raw option may be used to use a raw PCM data file, which
 must be 16 bit stereo little-endian PCM ('headerless Wave'), unless additional
 parameters for raw mode are specified.
 You can specify taking the file from stdin by using - as the input filename.
 In this mode, output is to stdout unless an output filename is specified
 with -o
 Lyrics files may be in SubRip (.srt) or LRC (.lrc) format


Maybe something like VBR could reduce space occupation.
I don't always sign a post
but when i do, i dig.
 

mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Mon Jun 24, 2013 21:41

Neuromancer wrote:
mauvebic wrote:Nevermind then if you already converted the clips to mono :p Do the clips still play to the player or do you chose random positions around the player?

I got/stole the idea for going to mono from your version. :) The clips still play to the player. The random positions would be a better option but haven't messed with that yet.


My intention was to use positional playing, but i never got around to it either :p

Neuromancer wrote:Hmmm I only see joint stereo when I export to mp3. Unfortunately Minetest only takes .ogg's. Is there another way to do this?

Are you using audacity?
 


Return to Servers



Who is online

Users browsing this forum: No registered users and 0 guests