Tencent Music Tech Team
Author

Tencent Music Tech Team

Public account of Tencent Music's development team, focusing on technology sharing and communication.

141
Articles
0
Likes
368
Views
0
Comments
Recent Articles

Latest from Tencent Music Tech Team

100 recent articles max
Tencent Music Tech Team
Tencent Music Tech Team
Jun 12, 2020 · Frontend Development

Using Jest for Front-End Unit Testing and Coverage

The article explains how to set up Jest for front‑end unit testing, demonstrates basic test writing, async handling, hooks, snapshot and React component testing, shows coverage configuration and thresholds, compares Jest’s built‑in features to Mocha’s limitations, and offers tips on concurrency, mocking, and test‑driven development.

JavaScriptJestmocking
0 likes · 21 min read
Using Jest for Front-End Unit Testing and Coverage
Tencent Music Tech Team
Tencent Music Tech Team
May 22, 2020 · Artificial Intelligence

Beat Detection: Concepts, Algorithms, and Applications

The article explains musical beat detection fundamentals, detailing traditional onset‑strength and dynamic‑programming algorithms (as in librosa), compares time‑domain and spectral methods, showcases deep‑learning advances, and describes practical applications such as audio visualisation, rhythm games, and QQ Music’s Super‑DJ automatic remix pipeline.

Audio Analysisbeat detectiondynamic programming
0 likes · 8 min read
Beat Detection: Concepts, Algorithms, and Applications
Tencent Music Tech Team
Tencent Music Tech Team
May 8, 2020 · Mobile Development

Mobile Machine Learning Frameworks Overview and Deployment Practices in Q Music

The article reviews four mobile‑focused machine‑learning frameworks—NCNN, TensorFlow Lite, PyTorch Mobile (Caffe2) and FeatherKit—detailing their size, speed, and resource trade‑offs, and explains Q Music’s edge‑inference pipeline, optimization strategies, and the challenges of performance variability on heterogeneous mobile devices.

FeatherKitPyTorch MobileTensorFlow Lite
0 likes · 25 min read
Mobile Machine Learning Frameworks Overview and Deployment Practices in Q Music
Tencent Music Tech Team
Tencent Music Tech Team
Apr 30, 2020 · Mobile Development

Edge Deep Learning Inference on Mobile Devices: Challenges, Hardware Diversity, and Optimization Strategies

Edge deep learning inference on mobile devices faces hardware and software fragmentation, diverse CPUs, GPUs, DSPs, and NPUs, and limited programmability; optimization techniques such as model selection, quantization, and architecture‑specific tuning enable real‑time performance, with most inference on CPUs, GPUs offering 5–10× speedups, and co‑processor support varying across Android and iOS.

DSPGPU programmingNPU
0 likes · 17 min read
Edge Deep Learning Inference on Mobile Devices: Challenges, Hardware Diversity, and Optimization Strategies
Tencent Music Tech Team
Tencent Music Tech Team
May 31, 2019 · Mobile Development

Kotlin Coroutine Failure After Resource Obfuscation in Android APK

The article explains how resource obfuscation with andResGuard removes META‑INF service files needed for the Android Main dispatcher, causing coroutines to silently fail after withContext calls, and shows that preserving the META‑INF/services directory restores proper coroutine execution.

APKAndroidDebugging
0 likes · 8 min read
Kotlin Coroutine Failure After Resource Obfuscation in Android APK
Tencent Music Tech Team
Tencent Music Tech Team
Apr 19, 2019 · Mobile Development

Common Wrapper Classes for Android BufferQueue: Surface and SurfaceTexture

The article explains BufferQueue’s internal design and shows how Android developers typically use its wrapper classes—Surface as the producer and SurfaceTexture as the consumer—detailing their constructors, dequeue/queue workflows, lock/unlock mechanisms, and a complete SurfaceView example that illustrates buffer production and consumption by SurfaceFlinger.

AndroidBufferQueueC++
0 likes · 13 min read
Common Wrapper Classes for Android BufferQueue: Surface and SurfaceTexture
Tencent Music Tech Team
Tencent Music Tech Team
Apr 12, 2019 · Mobile Development

Understanding Android BufferQueue: Architecture and Internal Operations

Android’s BufferQueue, the core producer‑consumer mechanism behind the display pipeline, manages GraphicBuffer slots through explicit FREE‑DEQUEUED‑QUEUED‑ACQUIRED transitions, using shared memory and Binder to let producers (e.g., Views, MediaCodec) enqueue frames and consumers (e.g., SurfaceFlinger) acquire and release them efficiently.

AndroidBufferQueueGraphics
0 likes · 16 min read
Understanding Android BufferQueue: Architecture and Internal Operations
Tencent Music Tech Team
Tencent Music Tech Team
Mar 22, 2019 · Frontend Development

How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues

This article analyzes the challenges of reproducing external‑network bugs, outlines common failure causes, and presents a complete design for a JavaScript SDK that records environment data, AJAX calls, errors, and user actions, stores them in IndexedDB, and visualizes the timeline for efficient troubleshooting.

DebuggingIndexedDBJavaScript
0 likes · 15 min read
How to Build a Frontend User‑Behavior Tracing System for Debugging External Network Issues
Tencent Music Tech Team
Tencent Music Tech Team
Jan 12, 2019 · Mobile Development

Technical Solution and Performance Optimization for Animated Lyrics Using ASS Subtitle Rendering on Mobile

The project replaces karaoke effects with ASS‑based lyrics on Android, using a backend to generate ASS files and a JNI renderer that rasterizes and composites bitmap fragments; optimizations like transparent‑fragment filtering, opacity early‑out, NEON SIMD, copy elimination, and double‑buffered decoding cut frame time from 52 ms to under 3 ms, raise frame rate from 7 fps to 15 fps, and shrink memory usage from 180 MB to under 10 MB.

ASS subtitleNEON Optimizationanimated lyrics
0 likes · 16 min read
Technical Solution and Performance Optimization for Animated Lyrics Using ASS Subtitle Rendering on Mobile