secondlife / jira-archive

2 stars 0 forks source link

[BUG-227855] MP3 opposed to WAV #6045

Open sl-service-account opened 4 years ago

sl-service-account commented 4 years ago

How would you like the feature to work?

I am curious my LL requires the usage of WAV files for sounds as opposed to MP3. MP3 are a smaller compressed file that would, it seems to me, allow for longer sounds to be uploaded

Why is this feature important to you? How would it benefit the community?

Like many I make gestures. Sometimes the length of a gesture sound is limited by the length of sounds allowed to be uploaded to SL.

It seems MP3 would be the next natural progression for LL

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-227855 | | Summary | MP3 opposed to WAV | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Unresolved | | Reporter | Doris Johnsky (doris.johnsky) | | Created at | 2019-11-11T04:40:34Z | | Updated at | 2019-11-13T19:29:09Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2019-11-11T17:54:14.845-0600', 'How would you like the feature to work?': 'I am curious my LL requires the usage of WAV files for sounds as opposed to MP3. MP3 are a smaller compressed file that would, it seems to me, allow for longer sounds to be uploaded', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': 'Like many I make gestures. Sometimes the length of a gesture sound is limited by the length of sounds allowed to be uploaded to SL. \r\n\r\nIt seems MP3 would be the next natural progression for LL\r\n\r\n', } ```
sl-service-account commented 4 years ago

Chaser Zaks commented at 2019-11-11T23:54:15Z

Wave files are not sent between the viewer and simulator, instead, wave files are used by the client due to them being very easy to decode. Once you choose a wave file, they are actually transcoded into vorbis(ogg files), this file is then uploaded to the simulator, and the viewer downloads these from the simulator(or these days, the asset server).

You can, if I recall correctly, upload vorbis(ogg) files if you would like to, but be warned these may be re-encoded resulting in a loss of quality. Giving the viewer the raw wave file ensures that less encoding is done, resulting in a higher chance of better sounding audio.

Wave files were chosen as the format of choice when uploading because:

  1. At the time, did not require a license to transcode. (The patents have recently expired in 2018)
  2. MP3 involves decoding, which wave is raw file and can be passed directly to the vorbis encoder.

As of right now, the average size of 10 second long sound clips are about 75-100KiB, if not less.

As for increasing audio size, there are some speculations that it may be increased to 30 seconds. This is unconfirmed and may just be a viewer side change.

sl-service-account commented 4 years ago

Doris Johnsky commented at 2019-11-12T02:35:36Z

Thank you for answering my question quickly. I understand the issues with MP3.   It was a suggestion, lot really a complaint.