Therefore we need the help of sound editing software to convert the sound source captured from CD into the required format.

Similar documents
The BAT WAVE ANALYZER project

AUDIO RECORDING. Rewind - to move back to a specific point in the recording (usually the beginning)

Multiband Noise Reduction Component for PurePath Studio Portable Audio Devices

Diamond Cut Productions / Application Notes AN-2

Experiment 13 Sampling and reconstruction

Stereo Box Pre Box Amp Box Amp Box Mono Switch Box. Tuner Box Dock Box F / V Phono Box MM Record Box USB Phono Box II

456 SOLID STATE ANALOGUE TAPE + A80 RECORDER MODELS

Laboratory 5: DSP - Digital Signal Processing

Experiment 2: Sampling and Quantization

WAVES Cobalt Saphira. User Guide

SPL Analog Code Plug-ins Manual Classic & Dual-Band De-Essers

EarStudio: Analog volume control. The importance of the analog volume control

VNS2200 Amplifier & Controller Installation Guide

A study on plug-in effects and DAW project sample rates.

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Edison Revisited. by Scott Cannon. Advisors: Dr. Jonathan Berger and Dr. Julius Smith. Stanford Electrical Engineering 2002 Summer REU Program

DF series continues to evolve, DF-45 was launched in 2005 and so was DF-55 in Then, DF-65 is the 4th generation of this product lineup.

Music in the Digital Age

A Matlab toolbox for. Characterisation Of Recorded Underwater Sound (CHORUS) USER S GUIDE

Tiptop audio z-dsp.

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

Using the BHM binaural head microphone

VNS2210 Amplifier & Controller Installation Guide

ex 800 Series ematrix System

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

HyperMedia User Manual

Audacity Tips and Tricks for Podcasters

AP-40. AP-40 Series Features Industry s smallest-sensor head Ultra lightweight High-speed response Two-color LED digital pressure display

SREV1 Sampling Guide. An Introduction to Impulse-response Sampling with the SREV1 Sampling Reverberator

USER GUIDE. DM Engineering Multi Station Relay Adapter (MSRA and MSRA-RM) Version DM Engineering

XB-14 Quick Operation Manual V1 23/10/2013

Pre-processing of revolution speed data in ArtemiS SUITE 1

NJU26125 Application Note PEQ Adjustment Procedure Manual New Japan Radio Co., Ltd

LD-V4300D DUAL STANDARD PLAYER. Industrial LaserDisc TM Player

Lindell 354E User Manual. Lindell 354E. User Manual

Owner s Manual PRE1. v1.2. Triode Class A Line Preamplifier

Summit Systems Sound Board Modification

Quick Start for TrueRTA (v3.5) on Windows XP (and earlier)

******************************************************************************** Optical disk-based digital recording/editing/playback system.

OWNERS MANUAL LUNATEC V3 MICROPHONE PREAMPLIFIER AND A/D CONVERTER

spiff manual version 1.0 oeksound spiff adaptive transient processor User Manual

Professional Fidelity Mastering Grade Listening

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

Elegance Series Components / New High-End Audio Video Products from Esoteric

MULTI CHANNEL VOICE LOGGER MODEL PCVL - 4/8/10/16/32/64. ORIGINAL EQUIPMENT MANUFACTURER OF VOICE LOGGING SYSTEMS Radio and CTI Expert Organisation

The DAC1. Introducing. Digital to Analog Converter. PRELIMINARY ANALOG DOMAIN DAC1 1 November, 2016

Overview. A 16 channel frame is shown.

Teletext Inserter Firmware. User s Manual. Contents

IQDEC01. Composite Decoder, Synchronizer, Audio Embedder with Noise Reduction - 12 bit. Does this module suit your application?

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

Make It Sound. Created by Mike Barela. Last updated on :10:45 PM UTC

Chapter 14 D-A and A-D Conversion

User Manual K.M.E. Dante Module

S I N E V I B E S FRACTION AUDIO SLICING WORKSTATION

Fraction by Sinevibes audio slicing workstation

PHOENIX AUDIO. Owner s Manual

3G/HD/SD dual channel audio embedder/de-embedder

Solid State Logic S O U N D V I S I O N

Broadcast Television Measurements

UltraPioneerAVR3 HSPI User s Guide A HomeSeer HS3 plug-in to enable control of Pioneer A/V Receivers that support the IP & RS232 control system.

Image 2 LUT. Manual. Image 2 LUT. Manual

Experiment P32: Sound Waves (Sound Sensor)

High Performance TFT LCD Driver ICs for Large-Size Displays

TL AUDIO M4 TUBE CONSOLE

W0EB/W2CTX DSP Audio Filter Operating Manual V1.12

Applying effects including adjusting volume and fade in and out

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

MASELEC MTC-6 SURROUND master transfer and monitor system

8088 Corruption. Motion Video on a 1981 IBM PC with CGA

"With the advent of soundcards and digital sound, the speaker has become the poor relation"

Infrared Receive and Transmit with Circuit Playground Express

T L Audio. User Manual C1 VALVE COMPRESSOR. Tony Larking Professional Sales Limited, Letchworth, England.

Abbey Road TG Mastering Chain User Guide

AMEK SYSTEM 9098 DUAL MIC AMPLIFIER (DMA) by RUPERT NEVE the Designer

Dr. Speaker Blower and Presents

HCS-4100/20 Series Application Software

AM-4 Audio Monitor. Videoquip Research Limited 595 Middlefield Road, Unit #4 Scarborough, Ontario, Canada. MIV 3S2

How to use the DC Live/Forensics Dynamic Spectral Subtraction (DSS ) Filter

y POWER USER MUSIC PRODUCTION and PERFORMANCE With the MOTIF ES Mastering the Sample SLICE function

Do the following: a. (12 points) Draw a block diagram of your circuit design, showing and labeling all essential components and connections.

CET DOUBLE COUNTER WITH TWO THRESHOLDS LBM62CD. Type: TECHNICAL FEATURES

Distribution Unit. User Guide

Lab 5 Linear Predictive Coding

ER-100 Eurorack 8 Channel Stereo, Transformer Balanced Out Summing Mixer User Manual

LavryBlack Series Model DA10 Digital to Analog Converter

C8000. switch over & ducking

EEM Digital Systems II

Session 1 Introduction to Data Acquisition and Real-Time Control

Manual Version Ver 1.0

HCS-4100/50 Series Fully Digital Congress System

J R Sky, Inc. tel: fax:

FF DUAL FORMAT DJ MIXER USERS MANUAL

Rebis Audio Ltd. RA226 Digital Sampler User Guide

Standard Definition. Commercial File Delivery. Technical Specifications

RT-DRIVE DLM808 DIGITAL PROCESSOR AUDIO MATRIX PROCESSOR

MAutoPitch. Presets button. Left arrow button. Right arrow button. Randomize button. Save button. Panic button. Settings button

Instructions and answers for teachers

OPERATION MANUAL. USF-1013DEMUX Digital Audio Demultiplexer. 2 nd Edition. Software Version Higher

VU Mobile Powered by S NO Group

Experiment 9 Analog/Digital Conversion

Transcription:

Sound File Format Starting from a sound source file, there are three steps to prepare a voice chip samples. They are: Sound Editing Sound Compile Voice Chip Programming Suppose the sound comes from CD. The sound source will have format, 44100Hz sampling rate, stereo and 16Bit per sample. We must convert the sound from CD into the following format: Sound file in WAV or VOC format 8 Bit per sample MONO channel Therefore we need the help of sound editing software to convert the sound source captured from CD into the required format. The table below shows how to calculate the target sampling rate with different encoding to fit into different OTP voice chip. OTP Chip Memory Size ADPCM (4BIT) Memory Size PCM (8BIT) Calculation of Sampling Rate ( Memory Size / Sec ) Encoding Encoding 10 sec 64K 32K If ex 5sec voice S.R. = 64K / 5sec 12.8K HZ ( ADPCM ) If ex 5sec voice S.R. = 32K / 5sec 6.4K HZ ( PCM) 21 sec 128K 64K If ex 8sec voice S.R. = 128K / 8sec 16K HZ ( ADPCM ) If ex 8sec voice S.R. = 64K / 8sec 8K HZ ( PCM ) 42 sec 256K 128K If ex 12.8sec voice S.R. = 256K / 12.8sec 20K HZ ( ADPCM ) If ex 12.8sec voice S.R. = 128K / 12.8sec 10K HZ ( PCM ) 85 sec 512K 256K If ex 23sec voice S.R. = 512K / 23sec 22K HZ ( ADPCM ) If ex 23sec voice S.R. = 256K / 23sec 11K HZ ( PCM ) 170 sec 1024K 512K If ex 42sec voice S.R. = 1024K / 42sec 24K HZ ( ADPCM ) If ex 42sec voice S.R. = 512K / 42sec 12K HZ ( PCM ) 341 sec 2048K 1024K If ex 64sec voice S.R. = 1024K / 64sec 32K HZ ( ADPCM ) If ex 64sec voice S.R. = 2048K / 64sec 16K HZ ( PCM ) Date: Nov 2007 1

Voice Editing There are many different kinds of sound editing software available. We recommend GOLDWAVE, COOLEDIT AND SOUND FORGE. The following example is based on the GOLDWAVE software. Use the software to open a sound file, then followed by CUT, Paste and other commands to editing the sound. Resample the sound using the sampling rate calculated from the table above. Depends on different voice and speaker, try to find a suitable sampling rate to get best quality. When finished editing, use the SAVE AS command to convert the sound into WAV, MONO 8 BIT format. Normal, noise will be created when a sound file is sampling down into a smaller sampling rate. We usually use the following technique to reduce the noise or distortion: EQ, Noise Reduction, Fade in, Fade out, Volume, etc The value setting for the above commands are not fixed. User should choose the suitable value for his/her particular sound file. EQ setting example: 60 HZ or Depend on situation, sometimes noise will be in this frequency rang, therefore, we need to below decrease the gain of this frequency range 150 HZ Dog bark, Drum 400 HZ Male speech 1000 HZ High pitch male, female speech 2400 HZ High pitch female 6000 HZ Children 15K HZ Usually, we will reduce the gain of this frequency range into minimum because our voice chip or above cannot response to this. Date: Nov 2007 2

1. Let s use GOLD WAVE as an example to demonstrate how to edit the sound sources. Open the original sound file as below: 2. Convert the sound file to the format that we can accept (WAV and 8-bit MONO) Date: Nov 2007 3

3. Save as another file name after choosing the correct format. Date: Nov 2007 4

4. Click OK to confirm to accept the change of file format. Date: Nov 2007 5

5. The sample rate is dependent on which IC body is used. We have the following IC bodies: OTP CHIP Memory Size ADPCM encoding 10 SEC 21 SEC 42 SEC 85 SEC 170 SEC 341 SEC 64K 128K 256K 2512K 1024K 2048K To determine the SAMPLE RATE, we use the following formula: SAMPLE RATE = Memory Size / number of SEC e.g. If we are going to use the 10SEC IC, the memory size is 64K, therefore the sample rate is: 64K / 10 = 6.4KHz The maximum sampling rate should be a little smaller than the above value. Therefore, 6.0KHz rather than 6.4KHz should be used. After obtaining the sample rate, we should resample the original sound. If GOLDWAVE is used, and assume the new sample rate is 12KHz, then, we can resample the sound file using Effect and Resample to modify the sample rate as shown in the figures bellows: Date: Nov 2007 6

Date: Nov 2007 7

6. Normally, we will have high frequency noise introduced when we resample the original sound file. This high frequency noise can be reduced by using the Equalizer function as shown below: Date: Nov 2007 8

7. Noise Reduction can be used to further remove some noise. Note that after noise reduction, the amplitude will be increased so that the sound will be secturated. Date: Nov 2007 9

8. Therefore, we should reduce the amplitude and then apply the Equalizer effect once again. Use Effect, Volume then Change to reduce the amplitude. Date: Nov 2007 10

9. Apply the Equalizer again to amplify some major sound frequency which is reduced by the previous Noise Reduction step. Date: Nov 2007 11

10. we can apply Fade In and Fade Out at the beginning and the end of the sound to make it feel more smoothly. Date: Nov 2007 12

Date: Nov 2007 13

11. Remove the silence portion at the begin and end of the sound can reduce the chance of POP sound to happen. Date: Nov 2007 14

Date: Nov 2007 15

Date: Nov 2007 16

Date: Nov 2007 17

12. Finally, If there are very low volume part in the middle of the sound, it should be converted to total silence otherwise, the low volume sound maybe become noise sound in the final IC. Date: Nov 2007 18

13. This is the final version of edited sound file. Remark: the values used in the above steps such as Equalizer, Noise Reduction, etc., are different for different sound file. The above values are for demonstration only. Refer to the table below to choose the correct values for different types of sound. Date: Nov 2007 19

Compile of Sound File When the sound file is prepared, the ap89w24usb software is used to compile and convert the sound file into.dpm format data file to be programmed into the voice chip. Procedures to Compile: 1. Select the suitable IC chip to be used. 2. Select the encoding method to be used, ADPCM or PCM. 3. Add the edited WAV or VOC files. 4. Select the speaker output to be used, VOUT <PWM> or COUT <DAC>. 5. Select the trigger mode to be used, CPU or KEY mode. 6. Select the number of voice groups. 7. In each voice group, select the trigger mode, LEVEL or EDGE, HOLD or UNHOLD, Retrigger or Non-retrigger. 8. Select OUTPUT OPTIONS. (busy/stop/led) 9. Double click the already added voice files into each voice group. 10. Click the COMPILE button to compile and save the above selected options and voice file into.dpm file. Function Edge and Level Trigger: For both Edge and Level trigger, the chip starts to play when the trigger button is pressed. For Level Trigger, if the trigger key is pressed and keep holding at the pressed position, the chip will continue to play the same sound again and again until the trigger key is released. However, if the chip is programmed to Edge Trigger, the chip will play the sound only for one time even the trigger key is kept pressing. Hold and Unhold Trigger: For Holdable Trigger, the chip will play only when he trigger key is kept pressing. Sound playback will stop immediatly once the key press is released. For Un-holdable Trigger, the sound section will be played to finished once the trigger is pressed no matter the trigger key is kept pressing or released. Non-retrigger and Retrigger: For retrigger option, the currently playing sound will be stoped and new sound section will be played when another trigger key is pressed. For non-retrigger option, new trigger action will not be granted until the current sound section is finished playing. Date: Nov 2007 20

PWM or COUT: PWM output is used to drive a small speaker ( < 1/2 W speaker) directly. That means user can connect a small speaker to the VOUT1 and VOUT2 directly without adding extra circuit component. However, the sound volume will be limited. On the other hand, COUT is a current mode analog output in which at least a NPN transistor is needed as a amplifier. More high power amplifier can also be used with this COUT output to obtain larger power output. OTP Chip Programming Go the Writer page, press the LOAD button to load the.dpm file into the software. Note the CHECK SUM value. It should be the same as the value after Compile. If it is different, that means the.dpm file is corrupted. Voice files must be compiled again. Insert the suitable chip into the PC programmer socket and press the WRITE OTP button to start the programming. Upon finished, a 100% match should be display. That means the voice chip is programmed successfully. Date: Nov 2007 21