Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: Problems converting sound.  (Read 3630 times)

0 Members and 1 Guest are viewing this topic.

Sandy

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1007
  • 'Musical Landlady'
Problems converting sound.
« on: May 03, 2012, 01:46:32 PM »

I have just re learnt this tune today. The sound seems very clipped and harsh after converting it from Audacity to WAV or MP3 for  windows movie maker. Have I got signal settings too high ? Is there a better way to convert the sound ?

http://www.youtube.com/watch?v=HxefCvnUkcU

I'm sure there was a page for techie recording questions but couldn't find it  :|bl

Cheers,

Sandy
 (:)

Andrew Wigglesworth

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1101
  • 07
    • My website
Re: Problems converting sound.
« Reply #1 on: May 03, 2012, 03:06:41 PM »

It depends upon many things, the most basic of which is the audio quality to begin with. In this case it has a bitrate of 64kb/s and a sample rate of 22050Hz.

This is pretty low quality

If you imported it to Audacity and then immediately exported as a Wav file without doing anything else, then it should be a good replica of the original sound file. I would check the settings when you export the file to make sure that the settings are the same as above.

Exporting it as an mp3 brings in other issues. Mp3 is a lossy compressed file format. That means that when the audio file is compressed, some of the information is lost (simply "thrown away") according to an algorithm.

The audio in the video file is some sort of mpeg audio which might mean that it is mp3. However, that does not help anyway if your programme is compressing it again when it exports the audio.

Wav is an uncompressed lossless file format, ie. nothing gets thrown away, so this is one way to get the best audio export from the video file.

howard mitchell

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 456
    • Howard Mitchell
Re: Problems converting sound.
« Reply #2 on: May 03, 2012, 03:07:11 PM »

Sandy,

What did you use to record the sound, microphone, interface to the computer etc.  How far was the mic from the box and what sort of room were you in.  Can you send the wav file - pm me if you want to do this.

howard
Logged
Saltarelle D/G, Hohner D/G, Hohner C/F, Dallape C/F, Hohner A/D, Gaillard G/C, Sagne D, Roland FR18D, Hohner Bb/Eb.

Sandy

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1007
  • 'Musical Landlady'
Re: Problems converting sound.
« Reply #3 on: May 03, 2012, 03:39:06 PM »

I recorded the way I normally do which is why I was surprised that there was a huge  drop in quality. I use a USB Samson mic straight into computer and record on audacity. I expect some background noise from road, rain, dog and computer fan  (:)

I was happy with the recording on audacity, apart from background noises, the box sound was quite acceptable to me.

I usually then convert the sound to WAV and use that on windows movie maker. As there was a problem I also tried converting to mp3 and using that. Both gave the same problem.

Now just tried playing the wav file using quick time player and it's fine so presume it must be something to do with exporting to windows movie maker.

What would you recommend recording on as just a sound clip?..I see omvoice is going.

Sandy
 (:)

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Problems converting sound.
« Reply #4 on: May 03, 2012, 03:43:45 PM »

It depends upon many things, the most basic of which is the audio quality to begin with. In this case it has a bitrate of 64kb/s and a sample rate of 22050Hz.


To add to that: if I was recording with Audacity I'd set it for 44.1kHz sampling rate and 16 bit (called "linear PCM" or "WAV"). It would stay that way until I'd finished doing any editing or processing in Audacity, then I'd export to MP3 at 160k, 192k, 256k or 320k bit rate, assuming I could persuade WMM to take the MP3 data unchanged for the movie sound track.


(just seen your message posted while I was typing this : baffled...)
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Sandy

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1007
  • 'Musical Landlady'
Re: Problems converting sound.
« Reply #5 on: May 03, 2012, 04:55:22 PM »

I've just opened a Soundcloud account. I've put the wav file on to compare...Now don't tell me they sound the same  :P

http://soundcloud.com/sandyshallis/blossom-and-the-rain


Sandy
 (:)

Quebecois

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1206
  • Accordez-vous donc, c'est si beau, l'accordéon!
Re: Problems converting sound.
« Reply #6 on: May 03, 2012, 06:08:12 PM »

Check the Preferences on Audacity. Sometimes the default settings for recording and exporting are set very low.
Usually a MP3 at 192kbps is good enough for public posting.
Logged
Hohner Morgane D/G, pre-Erica Hohner in C/F and G/C,
Hohner Erica A/D, Roland FR-18

penn

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 574
Re: Problems converting sound.
« Reply #7 on: May 03, 2012, 07:47:09 PM »

Isn't the poor Youtube quality down to Windows Movie Maker? There's always a trade off between quality and file size, but most video editor default settings have a tendency to squash the audio hard to make room for the picture. If the audio is 64kbps that's barely "speech" quality so it's no surprise it sounds a bit lifeless and fizzy.
Which Movie Maker are you using? Is it the new one in Windows 7 or the old (much better) one in XP? There may a way to tweak settings to bias towards better audio quality without making the video too huge to upload.
Steve
(newbie squeezer, but I have done an amount of audio & video editing at work)
Logged
Hohners, Dino Baffetti, Lilly, Benny + a lot of junk.

forrest

  • Other Places::
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1009
  • digits still functioning
Re: Problems converting sound.
« Reply #8 on: May 03, 2012, 08:13:21 PM »

Isn't the poor Youtube quality down to Windows Movie Maker? There's always a trade off between quality and file size, but most video editor default settings have a tendency to squash the audio hard to make room for the picture. If the audio is 64kbps that's barely "speech" quality so it's no surprise it sounds a bit lifeless and fizzy.

I have found that my audio files (even WAV's) are totally compromised by Youtube. I guess it's the price we pay for having the vid and the social interaction. Mp3's uploaded to Onmvoice or similar seem to retain much more fidelity to the original....  (:)
« Last Edit: May 03, 2012, 08:15:40 PM by j.w.forrest »
Logged

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Problems converting sound.
« Reply #9 on: May 03, 2012, 08:18:33 PM »

I've just opened a Soundcloud account. I've put the wav file on to compare...Now don't tell me they sound the same  :P


I'd say that's fairly typical YouTube sound mangling. I've had far worse, even when the sound was fine when listening to the same video file that I uploaded.

Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Sandy

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1007
  • 'Musical Landlady'
Re: Problems converting sound.
« Reply #10 on: May 03, 2012, 08:36:53 PM »

Fair point on You Tube but I think it sounds like it just on WMM. I wonder if just a reboot will sort that out.

Out of interest Anahata...why do you set the audacity rates etc at a particular setting?..I might do the same.

Cheers

Sandy
 (:)

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF
Re: Problems converting sound.
« Reply #11 on: May 03, 2012, 09:12:21 PM »

The issues here resonate with recent discussion on the ARSC Recorded Sound Discussion List with regard to the question Does "Mastered for iTunes" matter to music?.

IMO the best way to secure consistent results when transcoding audio for web delivery is to work with the compression algorithm. By which I mean that understanding the compromises made when producing smaller file sizes gives more control of the end result. I would suggest that to optimize audio for web delivery the following filters should be used in the order set out bellow:

DC Offset

DC offset is low-frequency, inaudible noise that results from equipment grounding problems. If you don’t remove it, it can skew the results of subsequent sound editing.

Dynamics Compression

Dynamics compression evens out input levels by attenuating (turning down) the input when it rises above a specified threshold. This turns down the loudest sections. For multipurpose dynamics compression, the threshold should be set to -10dB, the ratio to 4:1, and the attack and release times to 100ms. Input levels should be adjusted to get approximately 3dB of compression and an output level of about 0dB.

Equalization

Equalization (Eq) changes the tone of the incoming signal by "boosting" (turning up) or "cutting" (turning down) certain frequencies. Using EQ can emphasize certain frequencies and cut others that contain noise or unwanted sound. EQ can compensate for compression Codecs that do not have flat frequency responses (that is, Codecs for which certain frequencies are not as loud after encoding). You can therefore use Eq to make compressed audio sound as close as possible to the source recording. For web delivery roll off unwanted Low frequencies below 100Hz.

Normalization

Normalization is used to maximize levels. Web audio files sound best when the digitized source has the highest possible gain without clipping. Digital audio files that do not use their full amplitude range produce low-quality streaming clips. If the amplitude range is too low, a digital sound editor can be used to adjust the range and increase the amplitude. Because some systems have trouble with files normalized to 100 percent, audio files are best normalized to 95 percent of maximum, or to -0.5dB.

In my experience the steps outlined above will produce consistent results for most web audio formats, including wmv, mov, mp3 and realaudio. That is not to say that you will get hifi results, but the files you upload will sound as you intend accross all platforms.
« Last Edit: May 03, 2012, 09:42:54 PM by Mike Hirst »
Logged
Semper idem, sed non eodem modo

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Problems converting sound.
« Reply #12 on: May 04, 2012, 12:26:25 AM »

Out of interest Anahata...why do you set the audacity rates etc at a particular setting?..I might do the same.


16/44.1 stereo is the same as CD quality, which is a sort of benchmark standard, and is usually the starting point for converting to MP3. It's obviously also a good choice for anything that's going to be put on a CD as no further conversion will be required.

Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Mcgrooger

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 833
  • Northern Roots
Re: Problems converting sound.
« Reply #13 on: May 04, 2012, 08:39:56 AM »

I've been following this thread with interest despite not understanding much, if any, of the technical stuff. I tend to use the highest setting on my Olympus sound recorder and transfer the WAV file to Audacity and export it as WAV. I then use the Windows 7 version of WLMM to add the soundtrack to the video taken with my camera. It does seem to mean that I've ended up with a number of very hefty sized files - in fact for my latest I exported it from LMM as 'HD' and it took about 3 hours to load to YouTube.
Anahata, what's the 16 part of the 16/44.1 Audacity setting? When I open Audacity the 'Project Rate (Hz)' is already set to 44100, which I assume is the 44.1 bit.
Having said all this, I only found out how to use Audacity and WLMM by trial and error and I've not been too unhappy with the sound of my YouTube vids so far. The only time I've had problems, I think, was when I started with an MP3 recording on the Olympus and once when I exported the sound from Audacity to MP3 when it all sounded a bit grotty.
Logged

Sandy Flett

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 709
    • Accordion and Melodeon Blog
Re: Problems converting sound.
« Reply #14 on: May 04, 2012, 09:14:00 AM »

A slight aside, but has anybody got any tips for how to efficiently align/synchronise their externally recorded audio file with video in WLMM? I do mine by trial and error, but it is quite a palaver adding/removing the sound file to very slightly edited start points on the video until the external audio plays alongside the video's own audio with a minimum of "echo effect".
Logged
DG Dino Baffetti Carnival II (plus accordions)
Accordion and Melodeon blog

Mcgrooger

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 833
  • Northern Roots
Re: Problems converting sound.
« Reply #15 on: May 04, 2012, 09:57:40 AM »

A slight aside, but has anybody got any tips for how to efficiently align/synchronise their externally recorded audio file with video in WLMM? I do mine by trial and error, but it is quite a palaver adding/removing the sound file to very slightly edited start points on the video until the external audio plays alongside the video's own audio with a minimum of "echo effect".

I do it exactly as you do Sandy - I jiggle it to and fro till it merges (more or less) with the sound from my camera.
I've got a separate question - a couple of times I've recorded melodeon with guitar+voice and trying to align the two audio tracks, both recorded on my external digital doobry, was really tricky - involving select, cut, oops, redo, repeated lots of times till the two tracks merge at roughly the same place. ((I'm fully expecting someone to tell me to RTFM! (:)))
Logged

Sandy Flett

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 709
    • Accordion and Melodeon Blog
Re: Problems converting sound.
« Reply #16 on: May 04, 2012, 10:29:19 AM »

I've got a separate question - a couple of times I've recorded melodeon with guitar+voice and trying to align the two audio tracks, both recorded on my external digital doobry, was really tricky - involving select, cut, oops, redo, repeated lots of times till the two tracks merge at roughly the same place. ((I'm fully expecting someone to tell me to RTFM! (:)))

I believe you can calibrate your set-up for latency, so that when you have recorded the second track (while listening to the first track), you should be able to "just push a button" to align the tracks. I have been meaning to try this for a long time but reading the manual makes me lose the will to live and I just carry on recording single track.
Logged
DG Dino Baffetti Carnival II (plus accordions)
Accordion and Melodeon blog

Mcgrooger

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 833
  • Northern Roots
Re: Problems converting sound.
« Reply #17 on: May 04, 2012, 10:44:33 AM »

I believe you can calibrate your set-up for latency, so that when you have recorded the second track (while listening to the first track), you should be able to "just push a button" to align the tracks. I have been meaning to try this for a long time but reading the manual makes me lose the will to live and I just carry on recording single track.

Thanks for that Sandy, but I don't record direct to Audacity while listening to the first track, I download to an MP3 player and record the second track on my external device and then put that onto Audacity along with the first track. The reason I've never tried recording directly to Audacity is that my computer has a noisy fan and my Olympus doesn't allow for 2-track recording. Sorry if I've misunderstood what you meant here.
Logged

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Problems converting sound.
« Reply #18 on: May 04, 2012, 09:52:47 PM »

The 16 is 16 bits I.e. 16 data bits per sample, and yes, 44.1 kHz is 44100 Hz - sorry for abbreviated jargon.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal