View: 13886|Reply: 6

RetroPie, PiMusicBox ect. Linux ALSA 432 & 528 Hz Real-Time Tuning Engine

[Copy link]

8

threads

54

posts

280

credits

Intermediate member

Rank: 3Rank: 3

credits
280
Published in 2017-4-9 23:34:16 | Show all floors |Read mode
Edited by Giantofstone at 2018-3-12 04:13

Hello,

all past generations consoles used A4 440 Hz Audio Pitch Standard which means nothing and is bad for you. Retrorangepi 4 uses ALSA so i configured a Real-Time A4 440 Hz to A4 432 Hz audio output plugin for it and configured that to be used as default to work.

You can also use the C5 528 Hz tuning. Just change the number of semitones to 0.156674, what will change A4 to 444 Hz.



Before your start, in the main menu press start and find desktop. In the desktop find a terminal.

First step is to install ladspa-sdk and tap_plugins
  1. sudo apt-get install ladspa-sdk && sudo apt-get install tap-plugins
Copy code

Second step is to edit ~/.asoundrc
  1. sudo pluma ~/.asoundrc
Copy code
Here is the example of ~/.asoundrc file for OrangePi PC (H3), just copy and paste.
  1. pcm.snd_card {
  2.         type hw
  3.         card 1
  4.         device 0
  5. }

  6. ctl.snd_card {
  7.         type hw
  8.         card 1
  9.         device 0
  10. }

  11. pcm.dmixer {
  12.     type dmix
  13.     ipc_key 1024
  14.     ipc_perm 0666      
  15.     slave.pcm snd_card
  16.     slave {
  17.         period_time 0
  18.         period_size 1024
  19.         buffer_size 4096
  20.         rate 44100
  21.         format S32_LE
  22.         channels 2
  23.     }
  24.     bindings {
  25.         0 0
  26.         1 1
  27.     }
  28. }

  29. pcm.ladspa {
  30.     type ladspa
  31.     slave.pcm "dmixplug";
  32.     path "/usr/lib/ladspa";
  33.     plugins [{
  34.         label tap_pitch
  35.         input {
  36.             controls [ -0.317667 0 -90 0 ]
  37.         }
  38.     }]
  39. }

  40. pcm.dmixplug {
  41.   type plug
  42.   slave.pcm "dmixer"
  43. }

  44. pcm.!default {
  45.     type plug
  46.     slave.pcm "duplex"
  47. }

  48. pcm.duplex {
  49.     type asym
  50.     playback.pcm "ladspa"
  51. }
Copy code

Done! Save and Restart.
Now you can heal your energy while playing all your favourite games without getting annoyed and play longer.
This will change the frequency to 431.99998843001134 Hz with a pretty sound effect and 440 Hz becomes funny next to it.
There are issues getting analog sound to work but may be a way around that.

8

threads

54

posts

280

credits

Intermediate member

Rank: 3Rank: 3

credits
280
 Author| Published in 2017-8-4 20:27:35 | Show all floors

RE: Linux ALSA 432 Hz Tuning Guide with High Preci...

Edited by Giantofstone at 2018-2-23 21:40

For a Raspberry Pi you need to install Raspbian, install ladspa-sdk and tap_plugins, edit /usr/share/alsa/alsa.conf with the code under pcm.hw and manually install RetroPie. To auto start RetroPie you can edit /home/pi/.bashrc and add the line /usr/bin/emulationstation at the end of it.

This also works very good on PiMusicBox.

  1. pcm.ladspa {
  2.     type ladspa
  3.     slave.pcm "dmixplug";
  4.     path "/usr/lib/ladspa";
  5.     plugins [{
  6.         label tap_pitch
  7.         input {
  8.             controls [ -0.317667 0 -90 0 ]
  9.         }
  10.     }]
  11. }

  12. pcm.dmixplug {
  13.   type plug
  14.   slave.pcm "hw"
  15. }

  16. pcm.!default {
  17.     type plug
  18.     slave.pcm "duplex"
  19. }

  20. pcm.duplex {
  21.     type asym
  22.     playback.pcm "ladspa"
  23. }
Copy code



0

threads

6

posts

128

credits

Registered member

Rank: 2

credits
128
Published in 2018-4-2 13:05:10 | Show all floors
Edited by Ubzilla at 2018-8-13 02:44

The full number of semitones still works better and change -90 to -24 or -48 or -72 for PCM System Minimum. With the last 0 to -6 so it filters the sound from ALSA otherwise it will hurt your ears. Also you may optionally install tap-plugins 1.0.0 for Debian Jessie and Stretch from this link Here. With raspberry pi dmixer wasn't working. Try "hw" instead of "dmixer", the OS may be optimized for that.

Should look like this:

  1. controls [ -0.3176665327 0 -24 0 ] 432.00000009 Hz
Copy code

Other option is to change the percantage instead of semitones:
  1. controls [ 0 -1.81818179772 -24 0 ] 432.00000009 Hz
Copy code
9 is the meaning of Infinity and Enlightenment encoded in all Polygons. -24 Means Vortex and if for example playing audio files of 120db and 96 db of the dynamic range will output audio at 96 db and 72 db of the dynamic range and for health reasons shouldn't be changed. Had to do with 12 digits, it has a lot of meaning called enlightenment.


I also have made a blog here

0

threads

2

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2018-10-19 02:41:33 | Show all floors
Edited by PowerFi at 2018-10-19 02:42

The safe settings without repeating decimal fraction are following:

444.00000009 Hz = 0.90909093 %

432.00000009 Hz = -1.818181797 %


Decibel Switch Works as this:

0,0
-12,-3
-24,-6
-36,-9
-48,-6
-60,-3
-72,-6
-84,-9

16

threads

227

posts

898

credits

Senior member

Rank: 4

credits
898
Published in 2024-5-17 15:28:28 | Show all floors
The Hz Real-Time Tuning Engine revolutionizes weight management by integrating cutting-edge technology with personalized health goals. This innovative engine continuously monitors biological rhythms, adapting strategies in real-time for optimal results. Whether adjusting workout intensity or suggesting dietary modifications, it ensures a seamless alignment with individual needs. For instance, when coupled with the wegovy weight loss regimen, the engine fine-tunes calorie expenditure and nutrient intake, enhancing efficacy. By dynamically responding to physiological cues, it empowers users on their journey towards sustainable wellness, marking a significant leap in personalized healthcare solutions.

0

threads

482

posts

1316

credits

Gold member

Rank: 6Rank: 6

credits
1316
Published in 2024-9-22 05:43:59 | Show all floors
Challenge yourself every day to be better, inspired by DANIEL MICHAEL X RAKIM THE GOD. Click my YouTube        Soon as they step foot on a curb

0

threads

482

posts

1316

credits

Gold member

Rank: 6Rank: 6

credits
1316
Published in 2024-9-28 21:51:55 | Show all floors
Army of Thieves: Get lost in the fast-paced world of a European heist, filled with twists, turns, and adrenaline-pumping action.        ดูหนังออนลไน์
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list