![NyQuest Innovation Labs NY6 Series Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/nyquest-innovation-labs/ny6-series/ny6-series_user-manuel_1722361029.webp)
NY6 User Manual
Ver 1.3 2019/03/28
29
PWM Output Connection DAC Output Connection PWM/DAC Connection Together
When using the PWM output, we provide an option of normal PWM current or Ultra PWM current for
different customer demand. The Ultra PWM current consumes more current but makes sound louder.
2.14.5 Envelope Control
During speech synthesis or melody synthesis, there is one set of 8-bit envelope register, which can
store the envelope information. Therefore NY6 can provide 256-level envelope control for each channel
and users can use it as alternative of volume control for each channel. If user wants to have largest
volume, value 0xFF is recommended.
As NY6 is a 6-channel synthesizer but there is only one set of envelope register physically, user has to
load desired channel number to ACC and execute CHNO instruction to select a specific channel. Then,
load the 256-level envelope data to RPT0~1 and execute LDEN instruction to update to this selected
channel. Moreover, as NY6 micro-controller is 4-bit but envelope information is 8-bit, the envelope data
of selected channel will not be updated until LDEN is executed. User can refer Chapter 3.8.6 for details.
2.14.6 Volume Control
NY6 supports 16-step digital volume control by the VOL register. Default value of VOL register is 0x8. In
order to have suitable volume, VOL=0x3 is recommended for 6-ch speech/MIDI synthesis. VOL=0x4 is
recommended for 4-ch speech/MIDI synthesis. VOL=0x8 is recommended for 2-ch speech/MIDI
synthesis. VOL=0xF is recommended for 1-ch speech synthesis.
As sampled waveform of speech or Head/Tail may not fully occupy between maximum and minimum
value, user may consider using larger value as digital volume than above recommended value for VOL
register in order to have satisfied loudness. Moreover, because there is a Limiter after Mixer to saturate
multi-channel synthetic result, it can prevent quality degradation of synthetic result.
In addition, NY6 supports instruction VOLX2 to multiply VOL by 2 for specific application. For instance,
the maximum volume for 1-ch speech is 0xF, but if the sound is not loud enough, VOLX2 will double
this volume 0xF to 0x1E to make it louder.
PWM2
PWM1/
DAC
VDD
PWM2
PWM1/
DAC
at PWM
connection
VDD
PWM2
PWM1/
DAC
DAC
No component
PWM