Plus not accepting WAVs as Custom Emotion Sounds - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: WLM Plus! Bug Reports (/forumdisplay.php?fid=7) +----- Thread: Plus not accepting WAVs as Custom Emotion Sounds (/showthread.php?tid=41864) Plus not accepting WAVs as Custom Emotion Sounds by RaceProUK on 04-03-2005 at 07:26 PM It's only happened with a few: I've attached them in a ZIP if you want to analyse them at all. RE: Plus not accepting WAVs as Custom Emotion Sounds by Joa on 04-03-2005 at 08:36 PM
they seem to work after being converted to mp3's and than back to wavs RE: Plus not accepting WAVs as Custom Emotion Sounds by Sunshine on 04-03-2005 at 09:11 PM Not a Msg Plus! bug, but corrupted/wrong (or not recognized) encoded .wav i think. RE: Plus not accepting WAVs as Custom Emotion Sounds by Joa on 04-03-2005 at 09:29 PM
quote: hmm... do you think that (it's not a bug) but that plus! like my some cd buring programs accepts only "higher" quality files? i know that the files i converted did not change in "sound" quality but since the properties changed and stuff, i think maybe it is "read" as being higher quality... and that is why plus! accepts it. i dont know i'm a noob. just some random thoughts. RE: Plus not accepting WAVs as Custom Emotion Sounds by M73A on 04-03-2005 at 09:31 PM would it be that plus only accepts stereo sounds? or do other mono sounds work? RE: Plus not accepting WAVs as Custom Emotion Sounds by Sunshine on 04-03-2005 at 09:37 PM
quote:Very possible, i don't know about the encoding of audio either. My thought behind it is...aslong as it happens with only a few files, the file is to blame.. * Sunshine waits for Cookie to step in and analyse the original files... Maybe he or Patchou can give an explanation. RE: Plus not accepting WAVs as Custom Emotion Sounds by Ezra on 04-03-2005 at 09:42 PM
I know that when you encoded the wav to mp3 and back you removed the metadata, maybe that's why plus! won't accept it? RE: Plus not accepting WAVs as Custom Emotion Sounds by Joa on 04-03-2005 at 09:48 PM i'm going to test some low quality sounds right now with plus! and see if the same thing happens RE: Plus not accepting WAVs as Custom Emotion Sounds by zaidgs on 04-03-2005 at 09:55 PM
i cannot be sure, but knowing that plus! uses some decoding\encoding libraries.... these are the ones responsible for things like that.... probably patchou needs to use more\better libraries..... still i got no technical details of plus! to start guessing RE: Plus not accepting WAVs as Custom Emotion Sounds by Ezra on 04-03-2005 at 10:01 PM He's using the LAME mp3 encoder RE: Plus not accepting WAVs as Custom Emotion Sounds by M73A on 04-03-2005 at 10:05 PM
i used file alyzer and this is what ive found so far...would this effect it? RE: Plus not accepting WAVs as Custom Emotion Sounds by Ezra on 04-03-2005 at 10:09 PM
My analysation RE: Plus not accepting WAVs as Custom Emotion Sounds by Joa on 04-03-2005 at 10:20 PM
i dunno this one's RE: Plus not accepting WAVs as Custom Emotion Sounds by CookieRevised on 04-04-2005 at 01:01 AM
quote:by converting the WAV files from raceprouk to MP3 and back to WAV, you lost significant data. It is as you're comparing two totaly different things. Do not use such method to determine the differences between files, this will be absolutely incorrect! quote:Yes they did, MP3 is a 'lossy' format, quality will _allways_ be lost. quote:That doesn't matter. Evenmore, the original sounds from raceprouk _are_ mono. quote:No... Evenmore, not all sounds from raceprouk contain metadata. And good file converters should not remove metadata but convert it also... quote:No. Some have metadata. eg: baa.wav quote:That could be the case. However there is something else going on (also). See below... quote:There aren't.... Lame 3.96 and libsndfile are the top and are the best you can get... Of course that doesn't mean that there can't be bugs in them or that libsndfile can read every possible format. This again shows that what Joa did will not do anything good (sorry Joa) unless you know how soundfiles are structured, what types exist, what types can be read, etc... (eg, know the difference between SamplesPerSecond, FramesPerSecond, SamplePerFrames, Frequencies, etc...) quote:Which is most likely not the one to blame. quote:Unless you know exactly how a RIFF format is build up, don't attempt to interpret the hex values, they will be meaningless. Google for the specs if you wanna know quote:That is called meta-data, but is of no use concearning this problem.... quote:yes it is longer, it is encoded with a much higher frequency and with double channels. quote:Then don't tackle the problem I'm sorry, but you will be wasting your time and only guessing what everything means. -------------- Also: quote: -------------- But, the problem is somewhat "stranger" then all this... When those sounds are played using the preview button, Plus! will popup with an errormessage saying they can't be handled. However, when you go to the detailed trimming panel, they can be played! And when you alter the trimming a very small bit, you will also be able to play them using the normal preview button. So I suspect there is something wrong with the alignment of the data/frames in the sound (not all frames are read decently read out or something, or due alignment some readin past input or something occurs)... The problem isn't the type of sound but the length of the sound or inproper sized buffer or something I suspect, as I was able to import the same type of sounds* (frequency, bitrate, channel, etc...) without any problem. *sounds carefully created to have the exact same properties concearning format (0x0001), channels (1), samples per second, average bytes per sec, blockalignment, bits per sample, and even chunck headers as the sounds from raceprouk. Only difference being the length of the sound... -------------- A possible related thing (best to explain with an example): when you import the sound ni.wav and play the wave via the detailed trimming panel, the panel shows a total sound duration of 227ms. When you play it it goes only to 180ms (this can be normal though). But when you trim the sound to 180ms and play it again, the sound is randomly played till 180ms and sometimes only till 90ms... This happens with many sound trimmings... -------------- PS: and besides that there are still problems with: * locking temporary files (even when files aren't open and/or aren't used by Plus! anymore) * deletion of (or rather the lack of) not used temporary files. * the moving of the selection in the trim control acting weird/bad with short lengths (<1000ms) and shorter selections then the sound itself. RE: Plus not accepting WAVs as Custom Emotion Sounds by zaidgs on 04-04-2005 at 10:15 PM
quote:so correct me if im wrong, u think that the bug is in how plus! uses the libaries.... ie. bug is in plus! code, not 3rd party library bugs\limitations... anyways, patchou probably would analyze the situation and fix it if it was fixable... RE: Plus not accepting WAVs as Custom Emotion Sounds by Patchou on 04-05-2005 at 12:57 AM
Cookie's analysis is (as always) very correct, however, as I'm the only one who posseses the source code of Plus!, here is the exact reason of the issues created by those sounds: RE: RE: Plus not accepting WAVs as Custom Emotion Sounds by CookieRevised on 04-05-2005 at 06:51 AM
quote:I first suspected it was due to this, but then I came to ni.wav which has a samplerate of 11025Khz (8bits, mono) which is a common used and standard samplerate, so I ruled samplerates out. (and I came to the "length of sound"-cause because those sounds could be played with the preview after they were trimmed slightly <= although I'm not sure anymore now; I can't do it again... blah!). EDIT: found it again... With the original ni.wav, if you trim it to anything between 130 and 138ms, or to 179ms, or to 180ms, the sound is accepted Also, attached is the original ni.wav (with unneeded "fact" chunck), a fixed ni.wav (constructed as it should have been in the first place without "fact" chunk) and a testsound (exactly the same as the file structure of ni.wav). All are 11025Khz, 8bits, mono. Only the testsound is accepted in Plus!! EDIT: if you trim the test sound to anything lower then 493ms, it is again rejected by the preview. So, there is also something other then samplerates going on (???). --- quote:... btw, I'll mail you about the other glitch in the trim control concearning the rounding of the time/frames. (I've mentioned this before, but at that point it wasn't such a big deal. But it is when you handling sounds <1s) RE: Plus not accepting WAVs as Custom Emotion Sounds by Patchou on 04-05-2005 at 07:52 AM yeah, I noticed that for the ni sound too... I guess the original file had something lame_enc didn't like either, I'll check out your fixed file and see what was changed exactly (if possible, I'll use that information to improve Plus! and fix the sound before giving it to Lame_enc). |