61

Software Story - About the Ringtone Adaption

  1. Gary C. OxygenOS Operations Staff Member Jun 14, 2019

    Gary C., Jun 14, 2019 :
    The OnePlus 7 Series was officially introduced to public, and everyone knows about the new product: the customized fluid screen, fast and smooth, redefining lightness and smoothness. These are all visual experiences, and today we want to talk to you about its audio experiences.

    The production of any piece of music goes through the processes of composition, arrangement, mixing, mastering, monitoring the quality on headphones or sound boxes, various adjustments and optimizations. So do the ringtones. But that’s still not enough.

    Why?
    If you listen to any sound through headphones or a sound box, unless it is of terrible quality, it will sound okay with no distortion or break. But the phone speakers are different. As the volume gets louder, and there are more high and low frequencies, distortion can happen due to tones or pitches. This is mainly due to the low-power nature of the mobile phone speaker, narrow frequency range and small sound chamber (the cavity in which the speaker sounds). In order to break through these limitations, it is necessary to debug sounds one by one. But considering that different phones rely on different components, the end result would vary, thus a more precise adaptation is needed.

    The actual ringtone must be then tested through the phone’s loud speakers. The most basic means to do so is by adjusting the volume, turning the volume up or down the volume based on different situations. Adjusting a sound greatly varies depending on its nature, so many approaches need to be considered:
    • Some ringtones that have frequencies beyond the speaker's frequency response range requiring further adjustment. We have to attenuate the frequency below 100-150Hz and turn up the volume as a whole. If the result is not that satisfactory, with the sound still being stuffy, we then make some gains in the middle and high frequency to improve the loudness and brightness.
    • For certain harsh sounds, attenuation needs to be implemented within the high frequencies.
    • For some sounds that lack detail, they require to be supplemented with the compression effects for some dynamic processing.
    • For sounds that fail to deliver the expected satisfactory performance, they need to be rearranged, such as raising or lowering the overall pitch.
    • For sounds that are comfortable to be heard on the headphone but appears too crowded on the phone, some unimportant chords need to be deleted to make the percussion section simpler.
    • On the other hand, sometimes the main melody sounds too thin, so superposition of different timbres from different tracks might also be required. Besides, these timbres must be characterized with different acoustic images and mixed with different equalizations in different registers, in which case the sound would be fuller and three-dimensional.
    Before optimization:


    After optimization:

    The new product is equipped with super linear dual speakers so there is a qualitative leap in the sound quality and volume compared with previous ordinary speakers. We have done a more detailed treatment based on the characteristics of the two speakers. For example, lower frequencies may not be good at the top speaker, so that part should be moved slightly towards the right sound image, which helps preserve the bass effect as well as avoid the overload for the top speaker. Likewise, for sounds that are not prominent enough for the stereo, widening the sound field by distancing the sound images would also help to improve the prominence.

    upload_2019-6-11_6-25-17.png

    Here we introduce the debugging for the default SMS sound "free". As for its production process, I have composed a post about it on our Chinese blog, you can check it here (in Chinese).

    This sound has a unique style, but the actual effect on a mobile phone speaker is not that good. In the new product, we changed the tone and adjusted the pitch. The result is good, but the ringtone changes a lot compared to the original. After trying various methods, there still wasn’t an actual improvement. I started conducting an experiment with a lot of sounds. Finally, I tried to superimpose the sounds by adding a timbre rich in high frequency to the original one. Through proportionally mixing the two sounds, equalizing and adjusting reverberation, I managed to find a closer tone which is featured with a harsh sound head producing a sense of tension. After repeatedly adjusting the range and balance, in the end we have struck an appropriate equalizing by making moderations to the sound images based on their tonal characteristics. Voila, the new Free!

    Free ringtone - old version


    Free ringtone - new version

    For previous generations of products, quite a few of our users complained about that the cell phone vibration motor not being good enough. Now, the phone is equipped with both the dual speakers and horizontal linear motor, which brings great improvement in the visual, auditory and even haptic experiences. Generally speaking, the vibration of the mobile phone motor is prefabricated with a fixed rhythm, which means that the vibration rhythm is constant regardless of the rhythm of the ringtone.

    This time, we developed a dynamic vibration mode, allowing the motor to automatically follow the rhythm of the music. But the insufficient precision gives rise to various situations: skipped vibration where vibration does not happen as expected; false vibration where unintended vibration happens; monotonous vibration intensity where there are no variations or changes in the vibration. To this end, we have specially created a unique vibration rhythm for each ringtone and made more subtle optimizations according to the rhythm and strength of different sounds.

    In order to achieve the best results, we conduct repeated debugging with our suppliers, in an effort to make the vibration more user-friendly. The supplier couldn't help commenting: "You really carry it through so carefully. We have never done anything like this before!"

    As above, looking forward to your feedback on user experience.

    Never Settle.
     

    #1
  2. B_Wrath Marshmallow Jun 14, 2019

    B_Wrath, Jun 14, 2019 :
    Wow @Gary C.! That's a damn detailed post!:)

    Is nice to hear the story behind such features, which are not given much thought about by the user, but contributes heavily to the overall experience!
     

    #2
    Oskela, TFW, Starcommander and 10 others like this.
  3. the_reckoner Ice Cream Sandwich Jun 14, 2019

    the_reckoner, Jun 14, 2019 :
    "The OnePlus 7 Series was officially introduced to public, and everyone knows about the new product: the...." .. Don't you mean product(s)? Guess you don't because you go on to mention the screen etc
     

    #3
    NateDev and Parcham_Gupta like this.
  4. Iamrohit.07 Gingerbread Jun 14, 2019

    Iamrohit.07, Jun 14, 2019 :
    hey there.. i REQUEST you all from software team please do add custom Fonts support to the OS. it is also an upgrade to consider. i have been Requesting this particular feature from very long time. please make it happen. @Gary C.
     

    #4
  5. A1559835099326 Froyo Jun 14, 2019

    A1559835099326, Jun 14, 2019 :
    please improve the sensor activity like proxymity, fingerprint sensor , double tap to wake option etc.
     

    #5
  6. akshayr723 Honeycomb Jun 14, 2019


    #6
  7. dvrvinnureddy98 Eclair Jun 14, 2019

    dvrvinnureddy98, Jun 14, 2019 :
    hi to OnePlus team I suggest u that try to improve camera wide angle more like Samsung galaxy S10 plus it's about 120 wide angle lens ,and more over try to update a Bluetooth with a new launch OnePlus hand watches like Apple do that so. and more need to do is very important to all of us that kindly manufacture OnePlus 7 pro a official screen gaurds with full covering the display,it one OnePlus official team can u ,outside no such full cover protection gaurds.
     

    #7
    rajnish_sharma123 and Naveen_006 like this.
  8. shanroy929 Eclair Jun 14, 2019


    #8
    Saliou likes this.
  9. GopalB. Nougat Jun 14, 2019


    #9
    SJBoss likes this.
  10. aarunjames123 Donut Jun 14, 2019


    #10
  11. elanglois Lollipop Jun 14, 2019

    elanglois, Jun 14, 2019 :
    No one else is
     

    #11
    TFW, I1560550045357 and HardstylerDK like this.
  12. elanglois Lollipop Jun 14, 2019

    elanglois, Jun 14, 2019 :
    The lens? Thats hardware

    Update Bluetooth in what way?

    Screen protectors are nearly impossible on a curved display, and what sort of protection do you hope to gain? They don't protect against cracks from falls and drops. And it's Gorilla Glass so it won't scratch very easily. Drop protection is your case because its usually lateral impact that cracks screens (hit on the edge)

    I ran my 3T with no screen protect from its release until the 7 Pro release, and it only got 1 scratch. Its nearly impossible to see. I work in an industrial/harsh environment full of metal shavings and other things that would be bad on phones.
     

    #12
    Joey Pardella likes this.
  13. Joey Pardella Donut Jun 14, 2019

    Joey Pardella, Jun 14, 2019 :
    thank you
     

    #13
  14. SJBoss Lollipop Jun 14, 2019

    SJBoss, Jun 14, 2019 :
    The loud speakers on 7 series are tuned to sound good.
     

    #14
  15. GopalB. Nougat Jun 14, 2019

    GopalB., Jun 14, 2019 :
    Thank you... :D
     

    #15
  16. G_plusone Marshmallow Jun 14, 2019

    G_plusone, Jun 14, 2019 :
    Great Work @Gary C.
    *Ringtones
     

    #16
    TFW likes this.
  17. SJBoss Lollipop Jun 14, 2019


    #17
  18. shanroy929 Eclair Jun 14, 2019


    #18
  19. HardstylerDK Eclair Jun 14, 2019


    #19
    akshayr723 and elanglois like this.
  20. WelshGezzer. Eclair Jun 14, 2019

    WelshGezzer., Jun 14, 2019 :
    The sound on my 7 pro is without a doubt the best I have ever experienced on any of my mobiles. I have watched some movies from Netflix and a TV series from Amazon prime, simply said incredible ! This time last month I unfortunately had not heard of One Plus, now I have it I won't be going back to Samsung !
     

    #20
    TFW and elanglois like this.