• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress

Android 12 features we love: Haptics and audio can work together

March 1, 2021 by bartez64

Android 12 can make your phone dance to the music.

Android 12 has plenty of features to explore, but one of the coolest may be the ability for your phone’s haptic motors to work in tandem with an audio stream. Vibration is something every Android phone — from the best phone to the most budget-friendly phone — already has and every phone can also play sounds through its external speaker. Pairing the two might lead to some really innovative stuff!

What are haptics?

Inside of every phone is a small motor that is purposefully made to be off-balance, called a linear resonant actuator. When Android tells a phone to vibrate, this motor spins. Because it’s off-balance, it shakes and vibrates while it’s spinning and this vibration is what we’re feeling when our phone is on mute and someone calls.

Haptic feedback isn’t a small feature, and it isn’t easy to get it right.

These vibrations are useful for other things, too. The most familiar — and for many the most vital — thing is vibrating when you tap a letter on the keyboard. Haptics are one of the three ways (visual and audio are the others) our phone can give us a clue that it’s performing some sort of action. In our example, it’s letting us know that we’ve successfully entered a character from the keyboard.

Haptic feedback is vital for phones, but it’s also very useful in your PlayStation controller, wearable devices, and even as an accessibility option for those with hearing issues.

Haptics and audio

Pay close attention to this short video, courtesy of XDA Editor in Chief Mishaal Rahman and an app from an independent developer who goes by the name kdrag0n. The volume of the phone is turned off but you can clearly hear the phone vibrate in time with the beat when placed on a wooden table. That’s the haptic audio coupling of Android 12 in full effect.

All the magic works during the audio post-processing and causes zero overhead.

The app was built using the new Haptic Generator API found in Android 12, which the documentation describes as “an audio post-processor which generates haptic data based on the audio channels”. In simple terms, that means that any sound generated can trigger the haptic motor based on when and how a developer wants it to turn on and off.

Because this is done during the audio processing, it doesn’t matter if the volume is on or off or how loud it is. Another interesting note is that the new API works on the Pixel 4, but not the Pixel 4a, Pixel 4a 5G, or the Pixel 5. If I were a betting man, I would say those issues will be addressed before Android 12 is officially released sometime this fall.

While seeing this demo in action is really cool, what else could be done with it is a lot more interesting. Two very nice additions to Android come to mind: gaming and custom vibration patterns.

Most of us have used an Xbox or PlayStation and know that a shaking controller is a pretty nifty addition. Whether you’re playing a first-person shooter, a racing game, a flight simulator, or any other sort of action game, having the controller rumble in your hands when you do something like wreck a car makes for better gameplay.

When you crash while playing Asphalt, your phone should shake!

There’s no reason the same can’t be done with your phone. A game developer could use the new Haptic Generator API to cause the motor to fire up at a specified intensity when an event happens. Android is getting plenty of great 3D games, and those games could make great use of this feature!

A little more mundane but just as important would be the ability to assign a specific vibration pattern when a specific contact calls or messages you. Having custom ringtones and messaging tones for a contact isn’t a new idea. Let’s say the developer of the next great messaging app wants to go a step further, and let you assign both a ringtone and a vibration pattern for a contact. While there would still be extra work, the Haptic Generator makes it far less involved.

Of course, Android developers have a lot of great ideas of their own, as we see every day in the apps we use and love. “Custom” Haptics may not sound like the sexiest feature of Android 12, but I think it’s one of the coolest.

Original Article

Related posts:

  1. Google Pixel 5 review: The best Pixel ever
  2. Android 12 “Snow Cone”: Everything we know so far about Google’s next big update, with Developer Preview 1 changes!
  3. Android 11 Custom ROM List – Unofficially Update Your Android Phone!
  4. PS5 “Ultimate FAQ” Answers Your Questions About Sony’s New Console
  5. Mobile Tracking – A Comprehensive Understanding of What, Why, & How
  6. Best free Android apps of 2017: 100 you must download
  7. Sony PlayStation 5 review
  8. Android 11 Beta goes live for Google Pixel phones with Device Controls API, Bubble notifications, and much more
  9. Best action camera 2022: The best Full HD, 4K and 360 action cameras from GoPro, Insta360 and DJI
  10. The history of Android: The evolution of the biggest mobile OS in the world

Filed Under: Mobile Tagged With: Android (operating system)

Primary Sidebar

Trending

  • How to fix Windows Update Error 80244019
  • Windows 10 Update keeps failing with error 0x8007001f – 0x20006
  • How To Change Netflix Download Location In Windows 10
  • Troubleshoot Outlook “Not implemented” Unable to Send Email Error
  • How do I enable or disable Alt Gr key on Windows 10 keyboard
  • How To Install Android App APK on Samsung Tizen OS Device
  • 3 Ways To Open PST File Without Office Outlook In Windows 10
  • FIX: Windows Update error 0x800f0986
  • How to Retrieve Deleted Messages on Snapchat
  • Latest Samsung Galaxy Note 20 leak is a spec dump revealing key features
  • Install Android 7.0 Nougat ROM on Galaxy Core 2 SM-G355H
  • 192.168.1.1 Login, Admin Page, Username, Password | Wireless Router Settings
  • Websites to Watch Movies Online – 10+ Best Websites Without SignUp/Downloading
  • How to Backup SMS Messages on Your Android Smartphone
  • How to delete a blank page at the end of a Microsoft Word document
  • Fix: The Disc Image File Is Corrupted Error In Windows 10
  • Android 11 Custom ROM List – Unofficially Update Your Android Phone!
  • Samsung Galaxy Z Fold 3 could be scheduled for June 2021, with S Pen support

Footer

Tags

Amazon amazon prime amazon prime video Apple Application software epic games Galaxy Note 20 Galaxy S22 Plus Galaxy S22 Ultra Google Sheets headphones Huawei icloud Instagram instant gaming ip address iPhone iphone 12 iphone 13 iphone 13 pro max macOS Microsoft Microsoft Edge Mobile app office 365 outlook Pixel 6 Samsung Galaxy Samsung Galaxy Book 2 Pro 360 Samsung Galaxy Tab S8 Smartphone speedtest speed test teams tiktok Twitter vpn WhatsApp whatsapp web Windows 10 Windows 11 Changes Windows 11 Release Windows 11 Update Windows Subsystem For Android Windows 11 Xiaomi

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org