Добавить новость



Новости сегодня на DirectAdvert

Новости сегодня от Adwile

Things I have (sort of) learned: Audio fades are one of the most CPU-intensive tasks you can possibly do, and my maths is too awful to properly explain why

Alright, you're going to have to bear with me, folks—maths has never been my strong point. Which is probably why I never understood why audio fades were so massively CPU-demanding, but thankfully, YouTuber LaurieWired has created an explainer video that I can almost follow. Almost.

I mean, I can explain to you the rough basics as to why a simple audio fade is potentially the most CPU intensive task you can perform, at least, but the whole video's embedded above, and I highly recommend giving it a whirl if you want a detailed explanation of why this mathematical effect occurs, and how modern coding gets around it. We're learning together, and in my case, I'm sitting at the back of my class with a pencil up my nose.

Let me give it a shot regardless. Essentially, when you lower the volume of an audio source in a consistent manner, you're gradually adjusting a number value. Let's say you start by halving it, before gradually lowering and lowering it into smaller and smaller numbers.

So far, so straightforward. However, as these numbers get smaller, they become what are referred to as subnormals. Subnormals cost a significant number of clock cycles to compute, becoming exponentially greater the finer the adjustment made, which means (especially in the early days of Digital Audio Workstations and the Intel Pentium 4) CPUs were previously grinding to a halt trying to accurately compute the arithmetic of a simple gradual audio fade.

All of this goes back to the way modern chips handle floating point calculations, as a CPU attempts to ratify a dense sequence of numbers to a degree of accuracy that the human ear simply can't perceive when applied to a gradually lowering audio output. It's essentially shooting for a degree of accuracy that strikes at the heart of why floating point calculations exist in the first place, to precisely represent real numbers.

(Image credit: Fritzchens Fritz)

In essence, while the simple act of turning a volume knob in an analogue system turns down the audio in a set of degrees with perfect efficiency, this kind of descending, volume-reducing pattern calculated on a CPU demands a massive amount of subnormal-based arithmetic that is simply unnecessary to achieve the eventual result.

Modern DAW plugins disable subnormal CPU functions in order to get around this processor-chewing behaviour, and x86 processors and Arm processors, with their differing instruction sets, have different methods of preventing the processor from delving into the realms of the subnormal and cooking themselves for no perceptible gain.

As someone who's worked in recording studios for a significant portion of my life, I had literally no idea all this was going on. My role was to plug in (and occasionally take out) cables, stack preamps and VSTs, tweak EQs, position microphones, and occasionally get into arguments with metal guitarists regarding the lengths of their solos.

For reference, never longer than a minute. Ever. Not without a bridge in between, which will require you to actually write some music rather than blathering off into a hellish sequence of modal masturbation.

Sorry, where was I? Ah yes, maths. Anyway, this is a great example of some mind-expanding knowledge that I'm certain to forget by tomorrow. What I will do, however, is tell everyone that there's a great YouTube video that explains it, and link them to this research paper, which I absolutely do not possess the brain power to fully comprehend [PDF warning].

I would go deeper, but I really don't have time to get into it all now. Read it yourself, and, err, let me know what you think.

Читайте на сайте


Smi24.net — ежеминутные новости с ежедневным архивом. Только у нас — все главные новости дня без политической цензуры. Абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию. Мы не навязываем Вам своё видение, мы даём Вам срез событий дня без цензуры и без купюр. Новости, какие они есть —онлайн с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии. Smi24.net — живые новости в живом эфире! Быстрый поиск от Smi24.net — это не только возможность первым узнать, но и преимущество сообщить срочные новости мгновенно на любом языке мира и быть услышанным тут же. В любую минуту Вы можете добавить свою новость - здесь.




Новости от наших партнёров в Вашем городе

Ria.city
Музыкальные новости
Новости России
Экология в России и мире
Спорт в России и мире
Moscow.media









103news.com — быстрее, чем Я..., самые свежие и актуальные новости Вашего города — каждый день, каждый час с ежеминутным обновлением! Мгновенная публикация на языке оригинала, без модерации и без купюр в разделе Пользователи сайта 103news.com.

Как добавить свои новости в наши трансляции? Очень просто. Достаточно отправить заявку на наш электронный адрес mail@29ru.net с указанием адреса Вашей ленты новостей в формате RSS или подать заявку на включение Вашего сайта в наш каталог через форму. После модерации заявки в течении 24 часов Ваша лента новостей начнёт транслироваться в разделе Вашего города. Все новости в нашей ленте новостей отсортированы поминутно по времени публикации, которое указано напротив каждой новости справа также как и прямая ссылка на источник информации. Если у Вас есть интересные фото Вашего города или других населённых пунктов Вашего региона мы также готовы опубликовать их в разделе Вашего города в нашем каталоге региональных сайтов, который на сегодняшний день является самым большим региональным ресурсом, охватывающим все города не только России и Украины, но ещё и Белоруссии и Абхазии. Прислать фото можно здесь. Оперативно разместить свою новость в Вашем городе можно самостоятельно через форму.

Другие популярные новости дня сегодня


Новости 24/7 Все города России



Топ 10 новостей последнего часа



Rss.plus


Новости России







Rss.plus
Moscow.media


103news.comмеждународная интерактивная информационная сеть (ежеминутные новости с ежедневным интелектуальным архивом). Только у нас — все главные новости дня без политической цензуры. "103 Новости" — абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию.

Мы не навязываем Вам своё видение, мы даём Вам объективный срез событий дня без цензуры и без купюр. Новости, какие они есть — онлайн (с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии).

103news.com — живые новости в прямом эфире!

В любую минуту Вы можете добавить свою новость мгновенно — здесь.

Музыкальные новости




Спорт в России и мире



Новости Крыма на Sevpoisk.ru




Частные объявления в Вашем городе, в Вашем регионе и в России