Results 1 to 13 of 13

Thread: .wav help

Hybrid View

  1. #1
    Join Date
    Dec 2002

    .wav help

    I was thinking of putting a sound in the background of my page but it seems to take too long to load. My wav file is 14 sec and 1.21 mb in size. is there a way to condense this or a way to change ext so that it wont be so large?


  2. #2
    Join Date
    Nov 2002
    Originally posted by Dave Clark
    It takes special software to convert one audio format to another.
    You can change a WAV compression in the RECORDER accessory that comes with Windows.
    and they can't be compressed.
    You can change to a compressed format using the accessory mentioned above. When you select the 8-bit mono format at 8khz rate, you get G.711 (mu-law) compression. A 64k file will run for 8 seconds. So, the 14 second WAV would take 115k. Of course it won't sound quite as good as it used to...

  3. #3
    Join Date
    Nov 2002
    Originally posted by Dave Clark
    To me, that is not truly a compression. True compression should be accompanied by the ability to expand the data to the original format without loss of quality.

    Dave [/B]

    MP3 throws out 80% or more of the original data that you will NEVER get back.
    Likewise JPG images are also discarding information that you cannot later get back.

    Are you saying you don't consider JPG to be an image compressing format and that you are confused about how MP3 works?
    // Stefan Huszics

  4. #4
    Join Date
    Nov 2002
    XYZZY - UK
    I'd define web compression as the running of a data set through an algorithm that reduces; the space required to store, or the bandwidth required to transmit the data set.

    Obviously the two common forms of image compression are Lossless and Lossy.
    Last edited by Robert Wellock; 12-16-2002 at 12:42 PM.

  5. #5
    Join Date
    Dec 2002


    Since listening to some of you guys comments is like trying to understand opera written in greek, I'll just say this...

    You guys all have offered much to my ponder and I appreciate your time. You guys are ALL great! I'd be lost at times without you. I did change/compress the file a bit in windows recorder and it cut it all the way down to 100K which is tolerable, especially with this command:

    <EMBED autostart="False" SRC="Myfile.wav">

    Worked great and I learned something. That's the ultimate goal anyway right... success and learning.

    You guys take care and thanks for all the help!


  6. #6
    Join Date
    Nov 2002
    Originally posted by Dave Clark
    merely reducing the effective sampling rate ... resulting in a loss of quality?
    FWIW, when you change a WAV file to 8-bit, it *does* compress the file from 16-bit linear to 8-bit PCM. The uncompression is done by a CODEC on playback. You could take that same file and uncompress it using Sound Recorder, but you would not have the same answer as the original - you would have distortion. In fact, you have distortion comparing the playback of the original file and the compressed file. Loss of information = loss of playback quality. It just depends on how much you can stand.

    How many people would record "White Christmas" from an old 78 RPM record and put it on the web in 44khz 16-bit stereo (probably a lot - they wouldn't know the difference)? :-)

  7. #7
    Join Date
    Nov 2002
    Originally posted by Dave Clark
    Gilbert, what is that?
    From Webopedia.com:
    CODEC - Short for compressor/decompressor, a codec is any technology for compressing and decompressing data. Codecs can be implemented in software, hardware, or a combination of both.
    In Windows, you can see examples of software CODECs listed under Control Panel/Multimedia/Devices/Audio Compression Codecs and Video Compression Codecs. There are a lot of algorithms, especially for speech compression. They are important for things like Net2Phone, NetMeeting, Video Conferencing and so forth, when it is important to limit digital bandwidth.

    I don't know how much more you want (or care) to know. I've been working with digital audio for several years, mostly with ISDN and T1 links.

  8. #8
    Join Date
    Nov 2002
    Originally posted by Dave Clark why can't you butt out of other people's conversations?
    Becuse this is an open webforum not a private conversation and you manage to time after time state things that are incorrect.

    I also point out when I see other people being incorrect, you just happen to fall into that cathegory above the average poster.
    // Stefan Huszics

  9. #9
    Join Date
    Dec 2002
    I have a few questions related to Internet music, so I guess I'll ask them here rather than open a new topic:

    1) Is the ability of a music file to be played directly from a page rather than downloaded dependant on their file type, the way they are implemented w/ HTML, or both?

    2) If #1 is their file type, what file types will play directly from a page?

  10. #10
    Join Date
    Dec 2002
    I have a .wav file that play beautifully when I click on it from explorer (not IE). When I include the following code in a table on a web page, it never plays when I click on the link. What in the world am I doint wrong?

  11. #11
    Join Date
    Dec 2002
    Sorry, I left out the code. I just converted the .wav to a .mp3 and it doesn't play either.

    <td><center><A HREF="C:/My Download Files/PuerNatusEstNobis.mp3">Puer Natus Est Nobis</A></center></td>

  12. #12
    Join Date
    Nov 2002
    XYZZY - UK
    You cannot stream a pure file MP3 directly from a web connection normally you have to use *.mpu to point to the *.mp3 if you want to stream *.mp3 format.

    QuickTime *.mov format - can be used for soundtracks as well - then that can be considered an example of a format which can be streamed while downloading, so you don't always have to configure the *.mov file into it's streamable state.

    Happy Christmas
    Last edited by Robert Wellock; 12-19-2002 at 02:59 PM.

  13. #13
    Join Date
    Dec 2002
    Haven't gotten it to the web yet. Just doing it locally right now.

    As for .mp3 and .mpu, I have another page up on the web with a similar link to an .mp3 file that does just great. That's why don't seem to 'get it' with this. I was making up a Christmas card, planning to just mail the link out to everybody and on the page have a link for them to click to get the music or not. People at work don't want sudden Christmas carols playing loudly when they are supposed to be working ;>).

    Do I need to have the .html and the .mp3 in the same directory? That doesn't seem necessary when the whole path is in the statment.



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.21697 seconds
  • Memory Usage 3,309KB
  • Queries Executed 13 (?)
More Information
Template Usage (30):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (13)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (13)postbit
  • (13)postbit_onlinestatus
  • (13)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (27):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./includes/functions_threadedmode.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (71):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates