1 / 14

Chapter 30 Creating Web Audio Files

Chapter 30 Creating Web Audio Files. Types of Web Audio Files (1). Static vs. Streaming Audio Files Static audio file 다양한 형식과 질 사용자가 링크를 통해서 모든 파일을 download 받아야 함 받은 audio file 을 관련 프로그램을 이용하여 실행시킴 WAV, AIFF, AU, MP3 Streaming audio file : audio file 을 download 받기 시작한 잠시 후부터 실행 가능

boykin
Download Presentation

Chapter 30 Creating Web Audio Files

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 30 Creating Web Audio Files

  2. Types of Web Audio Files (1) • Static vs. Streaming Audio Files • Static audio file • 다양한 형식과 질 • 사용자가 링크를 통해서 모든 파일을 download 받아야 함 • 받은 audio file을 관련 프로그램을 이용하여 실행시킴 • WAV, AIFF, AU, MP3 • Streaming audio file : • audio file을 download 받기 시작한 잠시 후부터 실행 가능 • 앞으로 실행해야 할 바로 앞 부분의 data만 조금씩 buffering해 나감 • web page를 audio file의 이름과 위치를 저장하고 있는 metafile에 연결 • RealNetwork’s RealSystem G2(RealAudio), Micorosoft’s Windows Media Services(NetShow)

  3. Types of Web Audio Files (2) • Static file의 장점 • Quality, No midstream pauses, No plug-ins to download, No need for a special server • Streaming file의 장점 • Long programs are practical, More features • Types of Audio Files • The basic factors that affect audio quality • Sampling rate : given in samples per second • Sample depth : in bits per sample, such as 8, 16, or 32 • Number of channels : one channel(monaural sound), two channel(stereo) • Compression

  4. How to Create Audio Files for the Web 1. Capture the audio with a recording device, such as a cassette, minidisc, or DAT. 2. Generate an uncompressed audio file on your computer by using its sound card. 3. (optional) Edit and process the uncompressed audio. 4. Encode the file into a different audio format, which usually compresses the file size in the process. 5. Load the resulting audio onto your Web server and add links to the audio files from your Web pages.

  5. Step 1. Capturing the Audio • Always obtain rights to post your recording. • Don’t rely on post-processing to clean up recording deficiencies. • Suit the tools to the task. • For speech or singing, place the microphone within a foot of the performer’s mouth. • Get a feed. • Monitor your recordings

  6. Step 2. Generating a Digital File • 사용자가 Web에서 사용할 format으로 바로 encoding(보통 압축된 format) • 시간과 공간 절약 • audio processing program 필요 없음 • 압축된 format이기 때문에 editing이 어렵다 • sound source를 바로 sound card에 연결해서 처리하기 때문에 step 4를 skip • 먼저 WAV file이나 AIFF file의 압축되지 않은 format으로 변환한 뒤에 압축된 format으로 encoding • final format으로 변환하기 전에 편집이나 가공 가능

  7. Sound를 analog format으로 녹음했다면 이 단계에서 digitizing 해야 함 • 대부분의 sound format들에서는 quality와 file size를 조절할 수 있는 option 제공

  8. Step 3. Editing and Processing the Uncompressed Audio • 여러 audio processing program은 TUCOWS와 같은 site에서 download 가능 • most useful processing functions • Editing • Removing direct current offset(removing DC bias) : waveform을 zero line을 중심으로 위치시킴 • Automatic normalization of volume : audio processing program은 가장 높은 부분을 찾고, 전체적인 volume을 조절 할 수 있음 • Volume(dynamic) compression

  9. Step 4. Encoding the File into a Compressed Audio Format • 사용자가 원하는 file의 종류에 맞는 encoder 사용하여 압축 • 새로운 encoder로 압축하면 구 버전의 player로는 실행 할 수 없을 수도 있음 • 성공적으로 audio file을 encoding하기 위해서는 • external sound source로부터 encoding 할 때에는 알맞은 recording volume level을 찾을 때까지 여러 번의 실험 필요 • 많은 distortion을 만드는 잦은 과부하를 피함

  10. Step 4. Encoding the File into a Compressed Audio Format • Microsoft encoder를 사용하고, intranet application을 위한 encoding이 아니라면 Metasound, MetaVoice 나 MP3 codec을 사용 • 빠른 시간 내에 많은 양의 audio file을 encoding 하려면 automatic indexing을 제외

  11. Step 5. Linking the Resulting Audio File to Your Web Pages • File을 web server에 copy하기 위해서는 file transfer program 사용 • ISP나 server administrator를 통해서 정확한 directory 위치를 확인 • Linking Static Files to Web Pages • Web server의 사용자 directory에 static audio file을 upload하고 upload 할 때에는 binary file임을 명시 • audio file에 link • Fred Smith’s < A HREF = “http://www.myisp.com/mydir/conference/speech.wav”>State of the Club Report</A> has details about next year’s plans.

  12. Step 5. Linking the Resulting Audio File to Your Web Pages • Linking Streaming Files to Web Pages • web page를 audio file(RM file for RealNetworks, or an ASF file for Microsoft Windows Media/NetShow)의 이름과 위치를 저장하고 있는 metafile에 연결 • steps for creating a metafile, linking to it from Web page, and uploading the files 1. Using Windows Notepad or any text editor, create a tiny, text-only metafile containing the name of the actual audio file . 2. Add link to the Web page from which you want the streaming audio file to be accessible. 3. Upload the large audio file to your ISP’s RealSystems or Windows Media or NetShow server directory, and upload your tiny metafile to the directory that contains web pages. 4. Test your new audio file to be sure that it plays the audio file that you intend.

  13. Step 5. Linking the Resulting Audio File to Your Web Pages • Linking RealSystems Files • 확장자가 .ram이고 audio file의 URL을 저장하고 있는 metafile을 생성 • Web server가 streaming audio를 제공하는 RealServer program을 사용한다면 URL은 rtsp(RealTime Streaming Protocol)로 시작 • 한꺼번에 여러 audio file을 실행 가능 • 예를 들어 mysong.ram에는 rtsp://www.myisp.com:554/myaudio/mysongs.rm • 554는 RealSystems를 위한 default port 번호

  14. Step 5. Linking the Resulting Audio File to Your Web Pages • Linking Microsoft Windows Media Files • 확장자가 .asf인 Windows Media/NetShow streaming file을 위해서는 확장자가 .asx인 metafile을 생성’ • ASX format의 최근 버전은 XML 구조 사용 <ASX Version=“3.0”> <Entry> <Ref ref=“mms://www.myisp.com/myaudio/mysong.asf” /> </Entry> </ASX> • mms는 Microsoft Media Server protocol

More Related