Evgenii Legotckoi
Evgenii LegotckoiJan. 27, 2016, 10:27 a.m.

Using Qt 3D to render music

Translation of official news by Titta Heikkala

Since the development of the Qt 3D module is in progress, we would like to provide it for review and testing of how music can be rendered using this module. The result of this experiment is a new example, the Audio Visualizer Example, for the Qt 3D module.


The example shows how you can use Qt 3D rendering with Qt Quick elements. 3D content is rendered using the Scene3D type. Speakers are objects in the NodeInstantiator and they are animated by visualizing the magnitude of the amplitude of the frequencies of the music being played. On the top layer of the scene, we placed the pause/play and stop buttons. These buttons are Qt Quick elements. The music is played using the MediaPlayer provided by the Qt Multimedia module.

This example has a curved line that wraps around 3D objects to show progress based on track duration. There is also a 3D prism showing the sample title and song. The Prism shows the song title while the song is playing, and the example title is displayed when the song is stopped. Titles are placed on different faces of the prism and the prism flip is animated when the title needs to be changed.

If you'd like to try out the example, you can find it at codereview.qt-project.org in the examples \qt3d\audio- visualizer-qml. We know that backend performance improvements are still needed to make column animations smoother, but since Qt 3D is a technology under consideration in the upcoming Qt 5.6 release, these improvements are likely very likely.

This example was created to give you an idea of what you can create using Qt 3D.
We hope you enjoy!

Источник Qt Blog

We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.

Do you like it? Share on social networks!

Comments

Only authorized users can post comments.
Please, Log in or Sign up
OI

C++ - Test 001. The first program and data types

  • Result:40points,
  • Rating points-8
AD

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:50points,
  • Rating points-4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 6:51 p.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiOct. 31, 2024, 8:37 p.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 3:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 2:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 6:02 p.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
p
pimacontrols85Dec. 31, 2024, 4:39 p.m.
Finding the Right Rittal Small Enclosure for Your Needs Rittal is a leading manufacturer of enclosures for industrial and IT applications. Their small enclosures offer a compact and reliable solution for a wide range of needs, from housing electronic…
Donald Randolph
Donald RandolphDec. 30, 2024, 9:59 a.m.
Personal Injury lawyer Santa Monica As an experienced Santa Monica personal injury lawyer, Donald C. Randolph has recovered over $100 Million in verdicts and settlements for our clients. In severe injury cases, this compensation i…
Nirvana Yoga School
Nirvana Yoga SchoolDec. 30, 2024, 12:13 p.m.
OAuth2.0 через VK, получение email Nirvana Yoga School is one of the most trusted and reputed traditional Rishikesh yoga courses , India certified by Yoga Alliance, USA. We aim to spread traditional yoga teachings so t…
s
sriparkDec. 30, 2024, 11:47 a.m.
Mobile app development company in Chennai A Mobile app development company in Chennai focuses on creating personalized mobile applications to meet various business requirements. These companies offer a full range of services,…
a
amit88Dec. 30, 2024, 11:45 a.m.
Excel in Exams with PSLE Maths Tuition Singapore Preparing for the PSLE can be challenging, but the right guidance makes all the difference. PSLE Maths tuition Singapore offers personalized coaching to help students master key concepts, improv…

Follow us in social networks