<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Frequencies Generator on Power Of Numerology</title>
    <link>https://powerof-numerology.com/generators/</link>
    <description>Recent content in Frequencies Generator on Power Of Numerology</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 04 Feb 2026 07:05:38 +0000</lastBuildDate>
    
        <atom:link href="https://powerof-numerology.com/generators/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Angel Frequencies Generator</title>
      <link>https://powerof-numerology.com/angel-frequencies-generator/</link>
      <pubDate>Wed, 04 Feb 2026 07:05:38 +0000</pubDate>
      
      <guid>https://powerof-numerology.com/angel-frequencies-generator/</guid>
      <description>
&lt;p class=&#34;gen-intro&#34;&gt;Click play on any frequency to start listening. Adjust
    individual volumes with the sliders. Select multiple frequencies to combine them. Set your desired length and click
    Export to download a WAV file.&lt;/p&gt;

&lt;div id=&#34;frequencies&#34; class=&#34;gen-grid&#34;&gt;
    &lt;!-- 111 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;111 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;New Beginnings&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);&#34; data-freq=&#34;111&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;111&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 222 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;222 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Balance &amp; Harmony&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);&#34; data-freq=&#34;222&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;222&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 333 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;333 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Divine Protection&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);&#34; data-freq=&#34;333&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;333&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 444 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;444 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Angelic Presence&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);&#34; data-freq=&#34;444&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;444&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 555 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;555 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Change &amp; Transformation&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);&#34; data-freq=&#34;555&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;555&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 666 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;666 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Material-Spiritual Balance&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);&#34; data-freq=&#34;666&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;666&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 777 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;777 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Spiritual Awakening&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);&#34; data-freq=&#34;777&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;777&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 888 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;888 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Abundance &amp; Success&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);&#34; data-freq=&#34;888&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;888&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 999 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;999 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Completion &amp; Wisdom&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);&#34; data-freq=&#34;999&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;999&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 1111 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;1111 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Spiritual Alignment&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);&#34; data-freq=&#34;1111&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;1111&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-card&#34;&gt;
    &lt;div class=&#34;gen-field&#34;&gt;
        &lt;label class=&#34;gen-label gen-label--lg&#34;&gt;
            Export Length: &lt;span id=&#34;lengthValue&#34;&gt;10&lt;/span&gt; minutes
        &lt;/label&gt;
        &lt;input type=&#34;range&#34; id=&#34;exportLength&#34; min=&#34;5&#34; max=&#34;15&#34; value=&#34;10&#34;
            class=&#34;gen-range&#34;&gt;
    &lt;/div&gt;
    &lt;button id=&#34;exportBtn&#34; class=&#34;gen-export&#34;
        style=&#34;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);&#34;&gt;
        Export WAV File
    &lt;/button&gt;
    &lt;p id=&#34;exportStatus&#34; class=&#34;gen-status&#34;&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-about&#34;&gt;
    &lt;h2 class=&#34;gen-about__title&#34;&gt;About Angel Frequencies&lt;/h2&gt;
    &lt;p class=&#34;gen-about__text&#34;&gt;
        Angel frequencies are sound vibrations corresponding to angel numbers - repeating number sequences believed to
        carry divine messages and guidance.
        When these numerical patterns are translated into frequencies (Hz), they create harmonic tones that many believe
        can help align us with angelic energies
        and spiritual guidance. Each frequency resonates with the specific meaning and energy of its corresponding angel
        number.
    &lt;/p&gt;

    &lt;h3 class=&#34;gen-about__subtitle&#34;&gt;The Ten Angel Frequencies&lt;/h3&gt;

    &lt;div class=&#34;gen-list&#34;&gt;
        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #667eea;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;111 Hz - New Beginnings &amp; Manifestation&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Signifies new beginnings and manifestation. Opens doorways to new opportunities and
                helps turn thoughts into reality. A powerful frequency for setting intentions.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #f093fb;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;222 Hz - Balance &amp; Harmony&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Brings balance and harmony to all areas of life. Encourages cooperation, diplomacy,
                and finding peaceful solutions. Helps maintain faith during challenging times.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #4facfe;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;333 Hz - Divine Protection &amp; Guidance&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Represents divine protection and the presence of ascended masters. Encourages
                creative expression and connection with higher spiritual realms.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #43e97b;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;444 Hz - Angelic Presence &amp; Support&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Strong presence of angels surrounding you with love and support. Provides
                reassurance that you&#39;re on the right path and encourages persistence toward goals.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #fa709a;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;555 Hz - Change &amp; Transformation&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Major life changes and transformations are coming. Encourages embracing change with
                positive attitude and trusting the journey of personal evolution.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #a8edea;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;666 Hz - Material &amp; Spiritual Balance&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Reminds to balance material and spiritual aspects of life. Encourages refocusing on
                inner wisdom and spiritual growth while managing earthly responsibilities.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #d299c2;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;777 Hz - Spiritual Awakening&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Profound spiritual awakening and enlightenment. Confirms you&#39;re on the right
                spiritual path and encourages continued inner development and mystical experiences.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #ff9a9e;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;888 Hz - Abundance &amp; Success&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Financial abundance and material success. Karmic rewards manifesting and
                opportunities for prosperity flowing into your life. A frequency of infinite possibilities.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #a18cd1;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;999 Hz - Completion &amp; Wisdom&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Completion of a life cycle and humanitarian wisdom. Encourages letting go of the
                old to make way for the new and sharing your gifts with the world.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #ffecd2;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;1111 Hz - Spiritual Alignment &amp; Enlightenment&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;The master number of spiritual alignment and enlightenment. Portal to higher
                consciousness opening. Your thoughts and intentions are manifesting rapidly - stay positive.&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;

&lt;/div&gt;
&lt;script&gt;
    const angelFrequencies = [111, 222, 333, 444, 555, 666, 777, 888, 999, 1111]

    const audioContext = new (window.AudioContext || window.webkitAudioContext)()
    const frequencyStates = {}

    // Create master gain node for playback normalization
    const masterGain = audioContext.createGain()
    masterGain.connect(audioContext.destination)
    masterGain.gain.value = 1.0

    function updateMasterGain() {
        let volumeSum = 0
        let maxVolume = 0
        let activeCount = 0

        for (const freq in frequencyStates) {
            const state = frequencyStates[freq]
            if (state.playing) {
                volumeSum += state.volume
                maxVolume = Math.max(maxVolume, state.volume)
                activeCount++
            }
        }

        if (activeCount === 0) {
            masterGain.gain.setValueAtTime(1.0, audioContext.currentTime)
            return
        }

        // Use max volume as target, normalize if sum exceeds it
        const normalizationFactor = volumeSum &gt; maxVolume ? maxVolume / volumeSum : 1.0
        masterGain.gain.setValueAtTime(normalizationFactor, audioContext.currentTime)
    }

    function initializeFrequency(freq) {
        frequencyStates[freq] = {
            playing: false,
            volume: 0.5,
            oscillator: null,
            gainNode: null
        }
    }

    function startFrequency(freq) {
        const state = frequencyStates[freq]
        if (state.playing) return

        const oscillator = audioContext.createOscillator()
        const gainNode = audioContext.createGain()

        oscillator.type = &#39;sine&#39;
        oscillator.frequency.setValueAtTime(freq, audioContext.currentTime)
        gainNode.gain.setValueAtTime(state.volume, audioContext.currentTime)

        oscillator.connect(gainNode)
        gainNode.connect(masterGain)  // Connect to master gain instead of destination
        oscillator.start()

        state.oscillator = oscillator
        state.gainNode = gainNode
        state.playing = true

        updateMasterGain()  // Update normalization
    }

    function stopFrequency(freq) {
        const state = frequencyStates[freq]
        if (!state.playing) return

        state.oscillator.stop()
        state.oscillator = null
        state.gainNode = null
        state.playing = false

        updateMasterGain()  // Update normalization
    }

    function updateVolume(freq, volume) {
        const state = frequencyStates[freq]
        state.volume = volume
        if (state.playing &amp;&amp; state.gainNode) {
            state.gainNode.gain.setValueAtTime(volume, audioContext.currentTime)
        }
        updateMasterGain()  // Update normalization when volume changes
    }

    function exportWAV() {
        const lengthMinutes = parseInt(document.getElementById(&#39;exportLength&#39;).value)
        const sampleRate = 44100
        const duration = lengthMinutes * 60
        const numSamples = sampleRate * duration

        document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Generating audio...&#39;
        document.getElementById(&#39;exportBtn&#39;).disabled = true

        setTimeout(() =&gt; {
            const offlineContext = new OfflineAudioContext(2, numSamples, sampleRate)
            const activeFrequencies = []

            // Calculate sum of all volumes and find max volume
            let volumeSum = 0
            let maxVolume = 0
            for (const freq in frequencyStates) {
                if (frequencyStates[freq].playing) {
                    const vol = frequencyStates[freq].volume
                    volumeSum += vol
                    maxVolume = Math.max(maxVolume, vol)
                    activeFrequencies.push(freq)
                }
            }

            if (activeFrequencies.length === 0) {
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;No frequencies playing! Please play at least one frequency.&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
                return
            }

            // Use the max volume as target peak - this way the loudest frequency stays at its set level
            const targetPeak = maxVolume

            // Calculate normalization factor
            const normalizationFactor = volumeSum &gt; targetPeak ? targetPeak / volumeSum : 1.0

            console.log(&#39;Active frequencies:&#39;, activeFrequencies.length, &#39;Volume sum:&#39;, volumeSum, &#39;Max volume:&#39;, maxVolume, &#39;Normalization factor:&#39;, normalizationFactor)

            for (const freq in frequencyStates) {
                const state = frequencyStates[freq]
                if (state.playing) {
                    const oscillator = offlineContext.createOscillator()
                    const gainNode = offlineContext.createGain()

                    oscillator.type = &#39;sine&#39;
                    oscillator.frequency.setValueAtTime(parseFloat(freq), offlineContext.currentTime)

                    // Apply normalized volume
                    const normalizedVolume = state.volume * normalizationFactor
                    gainNode.gain.setValueAtTime(normalizedVolume, offlineContext.currentTime)

                    oscillator.connect(gainNode)
                    gainNode.connect(offlineContext.destination)
                    oscillator.start()
                }
            }

            offlineContext.startRendering().then(audioBuffer =&gt; {
                const wav = audioBufferToWav(audioBuffer)
                const blob = new Blob([wav], { type: &#39;audio/wav&#39; })
                const url = URL.createObjectURL(blob)

                const a = document.createElement(&#39;a&#39;)
                a.href = url
                a.download = `angel_${activeFrequencies.join(&#39;_&#39;)}Hz_${lengthMinutes}min.wav`
                a.click()

                URL.revokeObjectURL(url)
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Export complete!&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
            })
        }, 100)
    }

    function audioBufferToWav(buffer) {
        const numChannels = buffer.numberOfChannels
        const sampleRate = buffer.sampleRate
        const format = 1 // PCM
        const bitDepth = 16

        let result
        if (numChannels === 2) {
            result = interleave(buffer.getChannelData(0), buffer.getChannelData(1))
        } else {
            result = buffer.getChannelData(0)
        }

        const dataLength = result.length * (bitDepth / 8)
        const buffer2 = new ArrayBuffer(44 + dataLength)
        const view = new DataView(buffer2)

        writeString(view, 0, &#39;RIFF&#39;)
        view.setUint32(4, 36 + dataLength, true)
        writeString(view, 8, &#39;WAVE&#39;)
        writeString(view, 12, &#39;fmt &#39;)
        view.setUint32(16, 16, true)
        view.setUint16(20, format, true)
        view.setUint16(22, numChannels, true)
        view.setUint32(24, sampleRate, true)
        view.setUint32(28, sampleRate * numChannels * (bitDepth / 8), true)
        view.setUint16(32, numChannels * (bitDepth / 8), true)
        view.setUint16(34, bitDepth, true)
        writeString(view, 36, &#39;data&#39;)
        view.setUint32(40, dataLength, true)

        floatTo16BitPCM(view, 44, result)

        return buffer2
    }

    function writeString(view, offset, string) {
        for (let i = 0; i &lt; string.length; i++) {
            view.setUint8(offset + i, string.charCodeAt(i))
        }
    }

    function floatTo16BitPCM(view, offset, input) {
        for (let i = 0; i &lt; input.length; i++, offset += 2) {
            const s = Math.max(-1, Math.min(1, input[i]))
            view.setInt16(offset, s &lt; 0 ? s * 0x8000 : s * 0x7FFF, true)
        }
    }

    function interleave(leftChannel, rightChannel) {
        const length = leftChannel.length + rightChannel.length
        const result = new Float32Array(length)

        let inputIndex = 0
        for (let i = 0; i &lt; length;) {
            result[i++] = leftChannel[inputIndex]
            result[i++] = rightChannel[inputIndex]
            inputIndex++
        }
        return result
    }

    // Initialize frequency states
    angelFrequencies.forEach(freq =&gt; {
        initializeFrequency(freq)
    })

    // Event listeners
    document.addEventListener(&#39;click&#39;, (e) =&gt; {
        if (e.target.closest(&#39;.play-btn&#39;)) {
            const btn = e.target.closest(&#39;.play-btn&#39;)
            const freq = parseInt(btn.dataset.freq)
            const playIcon = btn.querySelector(&#39;.play-icon&#39;)
            const pauseIcon = btn.querySelector(&#39;.pause-icon&#39;)

            if (frequencyStates[freq].playing) {
                stopFrequency(freq)
                playIcon.classList.remove(&#39;hidden&#39;)
                pauseIcon.classList.add(&#39;hidden&#39;)
            } else {
                startFrequency(freq)
                playIcon.classList.add(&#39;hidden&#39;)
                pauseIcon.classList.remove(&#39;hidden&#39;)
            }
        }
    })

    document.addEventListener(&#39;input&#39;, (e) =&gt; {
        if (e.target.classList.contains(&#39;volume-slider&#39;)) {
            const freq = parseInt(e.target.dataset.freq)
            const volume = e.target.value / 100
            const valueDisplay = e.target.parentElement.querySelector(&#39;.volume-value&#39;)
            valueDisplay.textContent = e.target.value
            updateVolume(freq, volume)
        }
    })

    document.getElementById(&#39;exportLength&#39;).addEventListener(&#39;input&#39;, (e) =&gt; {
        document.getElementById(&#39;lengthValue&#39;).textContent = e.target.value
    })

    document.getElementById(&#39;exportBtn&#39;).addEventListener(&#39;click&#39;, exportWAV);
&lt;/script&gt;
</description>
    </item>
    
    <item>
      <title>Planet Frequencies Generator</title>
      <link>https://powerof-numerology.com/planet-frequencies-generator/</link>
      <pubDate>Wed, 04 Feb 2026 07:05:38 +0000</pubDate>
      
      <guid>https://powerof-numerology.com/planet-frequencies-generator/</guid>
      <description>
&lt;p class=&#34;gen-intro&#34;&gt;Click play on any planet frequency to start listening. Adjust
    individual volumes with the sliders. Select multiple frequencies to combine them. Set your desired length and click
    Export to download a WAV file.&lt;/p&gt;

&lt;div id=&#34;frequencies&#34; class=&#34;gen-grid&#34;&gt;
    &lt;!-- Sun --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;☉ Sun&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;126.22 Hz - Vitality&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);&#34; data-freq=&#34;126.22&#34; data-planet=&#34;sun&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;126.22&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Moon --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;☽ Moon&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;210.42 Hz - Emotions&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);&#34; data-freq=&#34;210.42&#34; data-planet=&#34;moon&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;210.42&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Mercury --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;☿ Mercury&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;141.27 Hz - Communication&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #bdc3c7 0%, #2c3e50 100%);&#34; data-freq=&#34;141.27&#34; data-planet=&#34;mercury&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;141.27&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Venus --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;♀ Venus&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;221.23 Hz - Love&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);&#34; data-freq=&#34;221.23&#34; data-planet=&#34;venus&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;221.23&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Earth --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;🜨 Earth&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;136.10 Hz - Grounding&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);&#34; data-freq=&#34;136.10&#34; data-planet=&#34;earth&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;136.10&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Mars --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;♂ Mars&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;144.72 Hz - Energy&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);&#34; data-freq=&#34;144.72&#34; data-planet=&#34;mars&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;144.72&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Jupiter --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;♃ Jupiter&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;183.58 Hz - Expansion&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #ee9ca7 0%, #ffdde1 100%);&#34; data-freq=&#34;183.58&#34; data-planet=&#34;jupiter&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;183.58&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Saturn --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;♄ Saturn&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;147.85 Hz - Discipline&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #eea2a2 0%, #bbc1bf 100%);&#34; data-freq=&#34;147.85&#34; data-planet=&#34;saturn&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;147.85&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Uranus --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;♅ Uranus&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;207.36 Hz - Innovation&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);&#34; data-freq=&#34;207.36&#34; data-planet=&#34;uranus&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;207.36&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- Neptune --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;♆ Neptune&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;211.44 Hz - Spirituality&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);&#34; data-freq=&#34;211.44&#34; data-planet=&#34;neptune&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;211.44&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-card&#34;&gt;
    &lt;div class=&#34;gen-field&#34;&gt;
        &lt;label class=&#34;gen-label gen-label--lg&#34;&gt;
            Export Length: &lt;span id=&#34;lengthValue&#34;&gt;10&lt;/span&gt; minutes
        &lt;/label&gt;
        &lt;input type=&#34;range&#34; id=&#34;exportLength&#34; min=&#34;5&#34; max=&#34;15&#34; value=&#34;10&#34;
            class=&#34;gen-range&#34;&gt;
    &lt;/div&gt;
    &lt;button id=&#34;exportBtn&#34; class=&#34;gen-export&#34;
        style=&#34;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);&#34;&gt;
        Export WAV File
    &lt;/button&gt;
    &lt;p id=&#34;exportStatus&#34; class=&#34;gen-status&#34;&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-about&#34;&gt;
    &lt;h2 class=&#34;gen-about__title&#34;&gt;About Planet Frequencies&lt;/h2&gt;
    &lt;p class=&#34;gen-about__text&#34;&gt;
        Planet frequencies are based on the &#34;Cosmic Octave&#34; theory by Swiss mathematician Hans Cousto. These
        frequencies are derived from the orbital periods of celestial bodies, transposed into the audible range through
        octave multiplication. Each planet&#39;s frequency carries its unique energetic signature and symbolic meaning,
        connecting us to cosmic rhythms.
    &lt;/p&gt;

    &lt;h3 class=&#34;gen-about__subtitle&#34;&gt;The Ten Planet Frequencies&lt;/h3&gt;

    &lt;div class=&#34;gen-list&#34;&gt;
        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #f6d365;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;☉ Sun - 126.22 Hz - Vitality &amp; Life Force&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;The Sun&#39;s frequency resonates with vitality, consciousness, and creative power.
                Enhances confidence, willpower, and connection to your core essence.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #e0eafc;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;☽ Moon - 210.42 Hz - Emotions &amp; Intuition&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Connects to emotions, intuition, and feminine energy. Supports emotional balance,
                dreamwork, and attunement to natural cycles.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #bdc3c7;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;☿ Mercury - 141.27 Hz - Communication &amp; Intellect&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Enhances mental clarity, communication, and learning. Facilitates clear thinking,
                expression, and information processing.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #f093fb;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;♀ Venus - 221.23 Hz - Love &amp; Harmony&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;The frequency of love, beauty, and harmony. Promotes relationships, artistic
                expression, and appreciation of life&#39;s pleasures.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #56ab2f;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;🜨 Earth - 136.10 Hz - Grounding &amp; Healing&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;The &#34;OM&#34; frequency. Provides grounding, stability, and connection to Mother Earth.
                Known for deep relaxation and healing properties.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #eb3349;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;♂ Mars - 144.72 Hz - Energy &amp; Courage&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Energizes action, courage, and assertiveness. Enhances physical vitality,
                motivation, and the warrior spirit.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #ee9ca7;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;♃ Jupiter - 183.58 Hz - Expansion &amp; Abundance&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Frequency of growth, wisdom, and prosperity. Attracts abundance, optimism, and
                philosophical understanding.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #eea2a2;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;♄ Saturn - 147.85 Hz - Discipline &amp; Structure&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Supports discipline, responsibility, and mastery. Helps establish boundaries,
                overcome obstacles, and achieve long-term goals.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #4facfe;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;♅ Uranus - 207.36 Hz - Innovation &amp; Change&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Awakens innovation, independence, and sudden insights. Encourages breaking free
                from limitations and embracing change.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #667eea;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;♆ Neptune - 211.44 Hz - Spirituality &amp; Dreams&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Gateway to mystical experiences and higher consciousness. Enhances meditation,
                imagination, and spiritual connection.&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;script&gt;
    const planetaryFrequencies = [126.22, 210.42, 141.27, 221.23, 136.10, 144.72, 183.58, 147.85, 207.36, 211.44]
    const planetNames = {
        126.22: &#39;sun&#39;,
        210.42: &#39;moon&#39;,
        141.27: &#39;mercury&#39;,
        221.23: &#39;venus&#39;,
        136.10: &#39;earth&#39;,
        144.72: &#39;mars&#39;,
        183.58: &#39;jupiter&#39;,
        147.85: &#39;saturn&#39;,
        207.36: &#39;uranus&#39;,
        211.44: &#39;neptune&#39;
    }

    const audioContext = new (window.AudioContext || window.webkitAudioContext)()
    const frequencyStates = {}

    const masterGain = audioContext.createGain()
    masterGain.connect(audioContext.destination)
    masterGain.gain.value = 1.0

    function updateMasterGain() {
        let volumeSum = 0
        let maxVolume = 0
        let activeCount = 0

        for (const freq in frequencyStates) {
            const state = frequencyStates[freq]
            if (state.playing) {
                volumeSum += state.volume
                maxVolume = Math.max(maxVolume, state.volume)
                activeCount++
            }
        }

        if (activeCount === 0) {
            masterGain.gain.setValueAtTime(1.0, audioContext.currentTime)
            return
        }

        const normalizationFactor = volumeSum &gt; maxVolume ? maxVolume / volumeSum : 1.0
        masterGain.gain.setValueAtTime(normalizationFactor, audioContext.currentTime)
    }

    function initializeFrequency(freq) {
        frequencyStates[freq] = {
            playing: false,
            volume: 0.5,
            oscillator: null,
            gainNode: null
        }
    }

    function startFrequency(freq) {
        const state = frequencyStates[freq]
        if (state.playing) return

        const oscillator = audioContext.createOscillator()
        const gainNode = audioContext.createGain()

        oscillator.type = &#39;sine&#39;
        oscillator.frequency.setValueAtTime(freq, audioContext.currentTime)
        gainNode.gain.setValueAtTime(state.volume, audioContext.currentTime)

        oscillator.connect(gainNode)
        gainNode.connect(masterGain)
        oscillator.start()

        state.oscillator = oscillator
        state.gainNode = gainNode
        state.playing = true

        updateMasterGain()
    }

    function stopFrequency(freq) {
        const state = frequencyStates[freq]
        if (!state.playing) return

        state.oscillator.stop()
        state.oscillator = null
        state.gainNode = null
        state.playing = false

        updateMasterGain()
    }

    function updateVolume(freq, volume) {
        const state = frequencyStates[freq]
        state.volume = volume
        if (state.playing &amp;&amp; state.gainNode) {
            state.gainNode.gain.setValueAtTime(volume, audioContext.currentTime)
        }
        updateMasterGain()
    }

    function exportWAV() {
        const lengthMinutes = parseInt(document.getElementById(&#39;exportLength&#39;).value)
        const sampleRate = 44100
        const duration = lengthMinutes * 60
        const numSamples = sampleRate * duration

        document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Generating audio...&#39;
        document.getElementById(&#39;exportBtn&#39;).disabled = true

        setTimeout(() =&gt; {
            const offlineContext = new OfflineAudioContext(2, numSamples, sampleRate)
            const activeFrequencies = []
            const activePlanets = []

            let volumeSum = 0
            let maxVolume = 0
            for (const freq in frequencyStates) {
                if (frequencyStates[freq].playing) {
                    const vol = frequencyStates[freq].volume
                    volumeSum += vol
                    maxVolume = Math.max(maxVolume, vol)
                    activeFrequencies.push(freq)
                    activePlanets.push(planetNames[freq])
                }
            }

            if (activeFrequencies.length === 0) {
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;No frequencies playing! Please play at least one frequency.&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
                return
            }

            const targetPeak = maxVolume
            const normalizationFactor = volumeSum &gt; targetPeak ? targetPeak / volumeSum : 1.0

            console.log(&#39;Active frequencies:&#39;, activeFrequencies.length, &#39;Volume sum:&#39;, volumeSum, &#39;Max volume:&#39;, maxVolume, &#39;Normalization factor:&#39;, normalizationFactor)

            for (const freq in frequencyStates) {
                const state = frequencyStates[freq]
                if (state.playing) {
                    const oscillator = offlineContext.createOscillator()
                    const gainNode = offlineContext.createGain()

                    oscillator.type = &#39;sine&#39;
                    oscillator.frequency.setValueAtTime(parseFloat(freq), offlineContext.currentTime)

                    const normalizedVolume = state.volume * normalizationFactor
                    gainNode.gain.setValueAtTime(normalizedVolume, offlineContext.currentTime)

                    oscillator.connect(gainNode)
                    gainNode.connect(offlineContext.destination)
                    oscillator.start()
                }
            }

            offlineContext.startRendering().then(audioBuffer =&gt; {
                const wav = audioBufferToWav(audioBuffer)
                const blob = new Blob([wav], { type: &#39;audio/wav&#39; })
                const url = URL.createObjectURL(blob)

                const a = document.createElement(&#39;a&#39;)
                a.href = url
                a.download = `planetary_${activePlanets.join(&#39;_&#39;)}_${lengthMinutes}min.wav`
                a.click()

                URL.revokeObjectURL(url)
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Export complete!&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
            })
        }, 100)
    }

    function audioBufferToWav(buffer) {
        const numChannels = buffer.numberOfChannels
        const sampleRate = buffer.sampleRate
        const format = 1
        const bitDepth = 16

        let result
        if (numChannels === 2) {
            result = interleave(buffer.getChannelData(0), buffer.getChannelData(1))
        } else {
            result = buffer.getChannelData(0)
        }

        const dataLength = result.length * (bitDepth / 8)
        const buffer2 = new ArrayBuffer(44 + dataLength)
        const view = new DataView(buffer2)

        writeString(view, 0, &#39;RIFF&#39;)
        view.setUint32(4, 36 + dataLength, true)
        writeString(view, 8, &#39;WAVE&#39;)
        writeString(view, 12, &#39;fmt &#39;)
        view.setUint32(16, 16, true)
        view.setUint16(20, format, true)
        view.setUint16(22, numChannels, true)
        view.setUint32(24, sampleRate, true)
        view.setUint32(28, sampleRate * numChannels * (bitDepth / 8), true)
        view.setUint16(32, numChannels * (bitDepth / 8), true)
        view.setUint16(34, bitDepth, true)
        writeString(view, 36, &#39;data&#39;)
        view.setUint32(40, dataLength, true)

        floatTo16BitPCM(view, 44, result)

        return buffer2
    }

    function writeString(view, offset, string) {
        for (let i = 0; i &lt; string.length; i++) {
            view.setUint8(offset + i, string.charCodeAt(i))
        }
    }

    function floatTo16BitPCM(view, offset, input) {
        for (let i = 0; i &lt; input.length; i++, offset += 2) {
            const s = Math.max(-1, Math.min(1, input[i]))
            view.setInt16(offset, s &lt; 0 ? s * 0x8000 : s * 0x7FFF, true)
        }
    }

    function interleave(leftChannel, rightChannel) {
        const length = leftChannel.length + rightChannel.length
        const result = new Float32Array(length)

        let inputIndex = 0
        for (let i = 0; i &lt; length;) {
            result[i++] = leftChannel[inputIndex]
            result[i++] = rightChannel[inputIndex]
            inputIndex++
        }
        return result
    }

    planetaryFrequencies.forEach(freq =&gt; {
        initializeFrequency(freq)
    })

    document.addEventListener(&#39;click&#39;, (e) =&gt; {
        if (e.target.closest(&#39;.play-btn&#39;)) {
            const btn = e.target.closest(&#39;.play-btn&#39;)
            const freq = parseFloat(btn.dataset.freq)
            const playIcon = btn.querySelector(&#39;.play-icon&#39;)
            const pauseIcon = btn.querySelector(&#39;.pause-icon&#39;)

            if (frequencyStates[freq].playing) {
                stopFrequency(freq)
                playIcon.classList.remove(&#39;hidden&#39;)
                pauseIcon.classList.add(&#39;hidden&#39;)
            } else {
                startFrequency(freq)
                playIcon.classList.add(&#39;hidden&#39;)
                pauseIcon.classList.remove(&#39;hidden&#39;)
            }
        }
    })

    document.addEventListener(&#39;input&#39;, (e) =&gt; {
        if (e.target.classList.contains(&#39;volume-slider&#39;)) {
            const freq = parseFloat(e.target.dataset.freq)
            const volume = e.target.value / 100
            const valueDisplay = e.target.parentElement.querySelector(&#39;.volume-value&#39;)
            valueDisplay.textContent = e.target.value
            updateVolume(freq, volume)
        }
    })

    document.getElementById(&#39;exportLength&#39;).addEventListener(&#39;input&#39;, (e) =&gt; {
        document.getElementById(&#39;lengthValue&#39;).textContent = e.target.value
    })

    document.getElementById(&#39;exportBtn&#39;).addEventListener(&#39;click&#39;, exportWAV);
&lt;/script&gt;
</description>
    </item>
    
    <item>
      <title>Schumann Resonance Frequencies Generator</title>
      <link>https://powerof-numerology.com/schuman-resonance-generator/</link>
      <pubDate>Wed, 04 Feb 2026 07:05:38 +0000</pubDate>
      
      <guid>https://powerof-numerology.com/schuman-resonance-generator/</guid>
      <description>
&lt;p class=&#34;gen-intro&#34;&gt;Click play on any Schumann Resonance frequency to start listening. Adjust
    individual volumes with the sliders. Select multiple frequencies to combine them. Set your desired length and click
    Export to download a WAV file.&lt;/p&gt;

&lt;div id=&#34;frequencies&#34; class=&#34;gen-grid&#34;&gt;
    &lt;!-- 7.83 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;7.83 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Fundamental - Earth&#39;s Heartbeat&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);&#34; data-freq=&#34;7.83&#34; data-name=&#34;fundamental&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;7.83&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 14.3 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;14.3 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;2nd Harmonic - Alpha Bridge&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);&#34; data-freq=&#34;14.3&#34; data-name=&#34;2nd_harmonic&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;14.3&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 20.8 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;20.8 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;3rd Harmonic - Beta Gateway&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);&#34; data-freq=&#34;20.8&#34; data-name=&#34;3rd_harmonic&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;20.8&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 27.3 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;27.3 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;4th Harmonic - Focus &amp; Clarity&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);&#34; data-freq=&#34;27.3&#34; data-name=&#34;4th_harmonic&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;27.3&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 33.8 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;33.8 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;5th Harmonic - Mental Alertness&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);&#34; data-freq=&#34;33.8&#34; data-name=&#34;5th_harmonic&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;33.8&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 39.0 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;39.0 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;6th Harmonic - Gamma Activation&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);&#34; data-freq=&#34;39.0&#34; data-name=&#34;6th_harmonic&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;39.0&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 45.0 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;45.0 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;7th Harmonic - Higher Cognition&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);&#34; data-freq=&#34;45.0&#34; data-name=&#34;7th_harmonic&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;45.0&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 50.0 Hz --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;50.0 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;8th Harmonic - Peak Awareness&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);&#34; data-freq=&#34;50.0&#34; data-name=&#34;8th_harmonic&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;50.0&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-card&#34;&gt;
    &lt;div class=&#34;gen-field&#34;&gt;
        &lt;label class=&#34;gen-label gen-label--lg&#34;&gt;
            Export Length: &lt;span id=&#34;lengthValue&#34;&gt;10&lt;/span&gt; minutes
        &lt;/label&gt;
        &lt;input type=&#34;range&#34; id=&#34;exportLength&#34; min=&#34;5&#34; max=&#34;15&#34; value=&#34;10&#34;
            class=&#34;gen-range&#34;&gt;
    &lt;/div&gt;
    &lt;button id=&#34;exportBtn&#34; class=&#34;gen-export&#34;
        style=&#34;background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);&#34;&gt;
        Export WAV File
    &lt;/button&gt;
    &lt;p id=&#34;exportStatus&#34; class=&#34;gen-status&#34;&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-about&#34;&gt;
    &lt;h2 class=&#34;gen-about__title&#34;&gt;About Schumann Resonances&lt;/h2&gt;
    &lt;p class=&#34;gen-about__text&#34;&gt;
        Schumann Resonances are electromagnetic standing waves that exist in the cavity between Earth&#39;s surface and the
        ionosphere. First predicted by physicist Winfried Otto Schumann in 1952, these resonances are created by
        lightning discharges around the globe. The fundamental frequency is approximately 7.83 Hz, often called Earth&#39;s
        &#34;heartbeat,&#34; with several harmonic frequencies above it.
    &lt;/p&gt;

    &lt;h3 class=&#34;gen-about__subtitle&#34;&gt;The Eight Schumann Resonance Frequencies&lt;/h3&gt;

    &lt;div class=&#34;gen-list&#34;&gt;
        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #11998e;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;7.83 Hz - Fundamental Frequency - Earth&#39;s Heartbeat&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;The primary Schumann Resonance, associated with deep relaxation, theta brainwave
                states, meditation, and connection to Earth&#39;s electromagnetic field. Often used for grounding and
                stress relief.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #56ab2f;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;14.3 Hz - 2nd Harmonic - Alpha Bridge&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Bridges theta and alpha brainwave states. Associated with relaxed alertness,
                creative flow states, and light meditation. Supports calm focus and mental clarity.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #43cea2;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;20.8 Hz - 3rd Harmonic - Beta Gateway&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Corresponds to low beta brainwaves. Enhances alertness, focused attention, and
                active thinking. Supports concentration and cognitive processing.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #4facfe;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;27.3 Hz - 4th Harmonic - Focus &amp; Clarity&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Mid-beta range associated with active concentration, problem-solving, and engaged
                learning. Promotes mental sharpness and analytical thinking.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #667eea;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;33.8 Hz - 5th Harmonic - Mental Alertness&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;High beta frequency linked to heightened mental activity, active processing, and
                complex cognitive tasks. Supports sustained attention and information integration.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #fa709a;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;39.0 Hz - 6th Harmonic - Gamma Activation&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Enters the gamma brainwave range. Associated with heightened perception,
                information processing, and states of peak mental performance. Linked to insight and learning.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #f093fb;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;45.0 Hz - 7th Harmonic - Higher Cognition&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Mid-gamma frequency associated with enhanced cognitive function, sensory binding,
                and consciousness. Supports advanced information processing and mental integration.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #ffecd2;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;50.0 Hz - 8th Harmonic - Peak Awareness&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;High gamma frequency linked to states of peak awareness, simultaneous processing
                of information, and heightened consciousness. Associated with moments of insight and clarity.&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;

&lt;/div&gt;

&lt;script&gt;
    const schumannFrequencies = [7.83, 14.3, 20.8, 27.3, 33.8, 39.0, 45.0, 50.0]
    const frequencyNames = {
        7.83: &#39;fundamental&#39;,
        14.3: &#39;2nd_harmonic&#39;,
        20.8: &#39;3rd_harmonic&#39;,
        27.3: &#39;4th_harmonic&#39;,
        33.8: &#39;5th_harmonic&#39;,
        39.0: &#39;6th_harmonic&#39;,
        45.0: &#39;7th_harmonic&#39;,
        50.0: &#39;8th_harmonic&#39;
    }

    const audioContext = new (window.AudioContext || window.webkitAudioContext)()
    const frequencyStates = {}

    const masterGain = audioContext.createGain()
    masterGain.connect(audioContext.destination)
    masterGain.gain.value = 1.0

    function updateMasterGain() {
        let volumeSum = 0
        let maxVolume = 0
        let activeCount = 0

        for (const freq in frequencyStates) {
            const state = frequencyStates[freq]
            if (state.playing) {
                volumeSum += state.volume
                maxVolume = Math.max(maxVolume, state.volume)
                activeCount++
            }
        }

        if (activeCount === 0) {
            masterGain.gain.setValueAtTime(1.0, audioContext.currentTime)
            return
        }

        const normalizationFactor = volumeSum &gt; maxVolume ? maxVolume / volumeSum : 1.0
        masterGain.gain.setValueAtTime(normalizationFactor, audioContext.currentTime)
    }

    function initializeFrequency(freq) {
        frequencyStates[freq] = {
            playing: false,
            volume: 0.5,
            oscillator: null,
            gainNode: null
        }
    }

    function startFrequency(freq) {
        const state = frequencyStates[freq]
        if (state.playing) return

        const oscillator = audioContext.createOscillator()
        const gainNode = audioContext.createGain()

        oscillator.type = &#39;sine&#39;
        oscillator.frequency.setValueAtTime(freq, audioContext.currentTime)
        gainNode.gain.setValueAtTime(state.volume, audioContext.currentTime)

        oscillator.connect(gainNode)
        gainNode.connect(masterGain)
        oscillator.start()

        state.oscillator = oscillator
        state.gainNode = gainNode
        state.playing = true

        updateMasterGain()
    }

    function stopFrequency(freq) {
        const state = frequencyStates[freq]
        if (!state.playing) return

        state.oscillator.stop()
        state.oscillator = null
        state.gainNode = null
        state.playing = false

        updateMasterGain()
    }

    function updateVolume(freq, volume) {
        const state = frequencyStates[freq]
        state.volume = volume
        if (state.playing &amp;&amp; state.gainNode) {
            state.gainNode.gain.setValueAtTime(volume, audioContext.currentTime)
        }
        updateMasterGain()
    }

    function exportWAV() {
        const lengthMinutes = parseInt(document.getElementById(&#39;exportLength&#39;).value)
        const sampleRate = 44100
        const duration = lengthMinutes * 60
        const numSamples = sampleRate * duration

        document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Generating audio...&#39;
        document.getElementById(&#39;exportBtn&#39;).disabled = true

        setTimeout(() =&gt; {
            const offlineContext = new OfflineAudioContext(2, numSamples, sampleRate)
            const activeFrequencies = []
            const activeNames = []

            let volumeSum = 0
            let maxVolume = 0
            for (const freq in frequencyStates) {
                if (frequencyStates[freq].playing) {
                    const vol = frequencyStates[freq].volume
                    volumeSum += vol
                    maxVolume = Math.max(maxVolume, vol)
                    activeFrequencies.push(freq)
                    activeNames.push(frequencyNames[freq])
                }
            }

            if (activeFrequencies.length === 0) {
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;No frequencies playing! Please play at least one frequency.&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
                return
            }

            const targetPeak = maxVolume
            const normalizationFactor = volumeSum &gt; targetPeak ? targetPeak / volumeSum : 1.0

            console.log(&#39;Active frequencies:&#39;, activeFrequencies.length, &#39;Volume sum:&#39;, volumeSum, &#39;Max volume:&#39;, maxVolume, &#39;Normalization factor:&#39;, normalizationFactor)

            for (const freq in frequencyStates) {
                const state = frequencyStates[freq]
                if (state.playing) {
                    const oscillator = offlineContext.createOscillator()
                    const gainNode = offlineContext.createGain()

                    oscillator.type = &#39;sine&#39;
                    oscillator.frequency.setValueAtTime(parseFloat(freq), offlineContext.currentTime)

                    const normalizedVolume = state.volume * normalizationFactor
                    gainNode.gain.setValueAtTime(normalizedVolume, offlineContext.currentTime)

                    oscillator.connect(gainNode)
                    gainNode.connect(offlineContext.destination)
                    oscillator.start()
                }
            }

            offlineContext.startRendering().then(audioBuffer =&gt; {
                const wav = audioBufferToWav(audioBuffer)
                const blob = new Blob([wav], { type: &#39;audio/wav&#39; })
                const url = URL.createObjectURL(blob)

                const a = document.createElement(&#39;a&#39;)
                a.href = url
                a.download = `schumann_${activeNames.join(&#39;_&#39;)}_${lengthMinutes}min.wav`
                a.click()

                URL.revokeObjectURL(url)
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Export complete!&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
            })
        }, 100)
    }

    function audioBufferToWav(buffer) {
        const numChannels = buffer.numberOfChannels
        const sampleRate = buffer.sampleRate
        const format = 1
        const bitDepth = 16

        let result
        if (numChannels === 2) {
            result = interleave(buffer.getChannelData(0), buffer.getChannelData(1))
        } else {
            result = buffer.getChannelData(0)
        }

        const dataLength = result.length * (bitDepth / 8)
        const buffer2 = new ArrayBuffer(44 + dataLength)
        const view = new DataView(buffer2)

        writeString(view, 0, &#39;RIFF&#39;)
        view.setUint32(4, 36 + dataLength, true)
        writeString(view, 8, &#39;WAVE&#39;)
        writeString(view, 12, &#39;fmt &#39;)
        view.setUint32(16, 16, true)
        view.setUint16(20, format, true)
        view.setUint16(22, numChannels, true)
        view.setUint32(24, sampleRate, true)
        view.setUint32(28, sampleRate * numChannels * (bitDepth / 8), true)
        view.setUint16(32, numChannels * (bitDepth / 8), true)
        view.setUint16(34, bitDepth, true)
        writeString(view, 36, &#39;data&#39;)
        view.setUint32(40, dataLength, true)

        floatTo16BitPCM(view, 44, result)

        return buffer2
    }

    function writeString(view, offset, string) {
        for (let i = 0; i &lt; string.length; i++) {
            view.setUint8(offset + i, string.charCodeAt(i))
        }
    }

    function floatTo16BitPCM(view, offset, input) {
        for (let i = 0; i &lt; input.length; i++, offset += 2) {
            const s = Math.max(-1, Math.min(1, input[i]))
            view.setInt16(offset, s &lt; 0 ? s * 0x8000 : s * 0x7FFF, true)
        }
    }

    function interleave(leftChannel, rightChannel) {
        const length = leftChannel.length + rightChannel.length
        const result = new Float32Array(length)

        let inputIndex = 0
        for (let i = 0; i &lt; length;) {
            result[i++] = leftChannel[inputIndex]
            result[i++] = rightChannel[inputIndex]
            inputIndex++
        }
        return result
    }

    schumannFrequencies.forEach(freq =&gt; {
        initializeFrequency(freq)
    })

    document.addEventListener(&#39;click&#39;, (e) =&gt; {
        if (e.target.closest(&#39;.play-btn&#39;)) {
            const btn = e.target.closest(&#39;.play-btn&#39;)
            const freq = parseFloat(btn.dataset.freq)
            const playIcon = btn.querySelector(&#39;.play-icon&#39;)
            const pauseIcon = btn.querySelector(&#39;.pause-icon&#39;)

            if (frequencyStates[freq].playing) {
                stopFrequency(freq)
                playIcon.classList.remove(&#39;hidden&#39;)
                pauseIcon.classList.add(&#39;hidden&#39;)
            } else {
                startFrequency(freq)
                playIcon.classList.add(&#39;hidden&#39;)
                pauseIcon.classList.remove(&#39;hidden&#39;)
            }
        }
    })

    document.addEventListener(&#39;input&#39;, (e) =&gt; {
        if (e.target.classList.contains(&#39;volume-slider&#39;)) {
            const freq = parseFloat(e.target.dataset.freq)
            const volume = e.target.value / 100
            const valueDisplay = e.target.parentElement.querySelector(&#39;.volume-value&#39;)
            valueDisplay.textContent = e.target.value
            updateVolume(freq, volume)
        }
    })

    document.getElementById(&#39;exportLength&#39;).addEventListener(&#39;input&#39;, (e) =&gt; {
        document.getElementById(&#39;lengthValue&#39;).textContent = e.target.value
    })

    document.getElementById(&#39;exportBtn&#39;).addEventListener(&#39;click&#39;, exportWAV);
&lt;/script&gt;
</description>
    </item>
    
    <item>
      <title>Solfeggio Frequencies Generator</title>
      <link>https://powerof-numerology.com/solfeggio-frequencies-generator/</link>
      <pubDate>Wed, 04 Feb 2026 07:05:38 +0000</pubDate>
      
      <guid>https://powerof-numerology.com/solfeggio-frequencies-generator/</guid>
      <description>
&lt;p class=&#34;gen-intro&#34;&gt;Click play on any frequency to start listening. Adjust
    individual volumes with the sliders. Select multiple frequencies to combine them. Set your desired length and click
    Export to download a WAV file.&lt;/p&gt;

&lt;div id=&#34;frequencies&#34; class=&#34;gen-grid&#34;&gt;
    &lt;!-- 174 Hz - Foundation --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;174 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Foundation&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);&#34; data-freq=&#34;174&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;174&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 285 Hz - Quantum Cognition --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;285 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Quantum Cognition&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);&#34; data-freq=&#34;285&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;285&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 396 Hz - Liberation from Fear --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;396 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Liberation from Fear&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);&#34; data-freq=&#34;396&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;396&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 417 Hz - Facilitating Change --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;417 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Facilitating Change&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);&#34; data-freq=&#34;417&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;417&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 528 Hz - Transformation &amp; Miracles --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;528 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Transformation &amp; Miracles&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);&#34; data-freq=&#34;528&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;528&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 639 Hz - Connecting Relationships --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;639 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Connecting Relationships&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);&#34; data-freq=&#34;639&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;639&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 741 Hz - Awakening Intuition --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;741 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Awakening Intuition&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);&#34; data-freq=&#34;741&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;741&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 852 Hz - Returning to Spiritual Order --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;852 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Returning to Spiritual Order&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);&#34; data-freq=&#34;852&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;852&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;!-- 963 Hz - Divine Consciousness --&gt;
    &lt;div class=&#34;gen-card&#34;&gt;
        &lt;div class=&#34;gen-card__head&#34;&gt;
            &lt;div&gt;
                &lt;h3 class=&#34;gen-card__hz&#34;&gt;963 Hz&lt;/h3&gt;
                &lt;p class=&#34;gen-card__label&#34;&gt;Divine Consciousness&lt;/p&gt;
            &lt;/div&gt;
            &lt;button
                class=&#34;play-btn gen-play&#34;
                style=&#34;background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);&#34; data-freq=&#34;963&#34;&gt;
                &lt;svg class=&#34;play-icon gen-icon&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z&#34; /&gt;
                &lt;/svg&gt;
                &lt;svg class=&#34;pause-icon gen-icon hidden&#34; fill=&#34;currentColor&#34; viewBox=&#34;0 0 20 20&#34;&gt;
                    &lt;path
                        d=&#34;M5.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75A.75.75 0 007.25 3h-1.5zM12.75 3a.75.75 0 00-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 00.75-.75V3.75a.75.75 0 00-.75-.75h-1.5z&#34; /&gt;
                &lt;/svg&gt;
            &lt;/button&gt;
        &lt;/div&gt;
        &lt;div&gt;
            &lt;label class=&#34;gen-label&#34;&gt;
                Volume: &lt;span class=&#34;volume-value&#34;&gt;50&lt;/span&gt;%
            &lt;/label&gt;
            &lt;input type=&#34;range&#34; class=&#34;volume-slider gen-range&#34;
                data-freq=&#34;963&#34; min=&#34;0&#34; max=&#34;100&#34; value=&#34;50&#34;&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-card&#34;&gt;
    &lt;div class=&#34;gen-field&#34;&gt;
        &lt;label class=&#34;gen-label gen-label--lg&#34;&gt;
            Export Length: &lt;span id=&#34;lengthValue&#34;&gt;10&lt;/span&gt; minutes
        &lt;/label&gt;
        &lt;input type=&#34;range&#34; id=&#34;exportLength&#34; min=&#34;5&#34; max=&#34;15&#34; value=&#34;10&#34;
            class=&#34;gen-range&#34;&gt;
    &lt;/div&gt;
    &lt;button id=&#34;exportBtn&#34; class=&#34;gen-export&#34;
        style=&#34;background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);&#34;&gt;
        Export WAV File
    &lt;/button&gt;
    &lt;p id=&#34;exportStatus&#34; class=&#34;gen-status&#34;&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&#34;gen-about&#34;&gt;
    &lt;h2 class=&#34;gen-about__title&#34;&gt;About Solfeggio Frequencies&lt;/h2&gt;
    &lt;p class=&#34;gen-about__text&#34;&gt;
        Solfeggio frequencies are a set of ancient musical tones believed to have profound healing and spiritual
        properties.
        These sacred frequencies were used in Gregorian chants and are said to penetrate deep into the conscious and
        subconscious mind,
        promoting healing, balance, and transformation. Each frequency resonates with specific aspects of physical,
        emotional, and spiritual wellbeing.
    &lt;/p&gt;

    &lt;h3 class=&#34;gen-about__subtitle&#34;&gt;The Nine Sacred Frequencies&lt;/h3&gt;

    &lt;div class=&#34;gen-list&#34;&gt;
        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #667eea;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;174 Hz - Foundation&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;The lowest of the tones, serving as a natural anesthetic. Reduces physical and
                energetic pain, giving organs a sense of security and love.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #f093fb;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;285 Hz - Quantum Cognition&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Influences energy fields, sending messages to restructure damaged organs. Helps
                tissue return to original form and heal.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #4facfe;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;396 Hz - Liberation from Fear&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Liberates from guilt and fear. Helps to turn grief into joy, freeing emotional
                patterns and achieving goals.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #43e97b;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;417 Hz - Facilitating Change&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Cleanses traumatic experiences and facilitates change. Helps clear destructive
                influences of past events and negative thoughts.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #fa709a;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;528 Hz - Transformation &amp; Miracles&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;The &#34;Love Frequency&#34; used for DNA repair. Brings transformation, miracles, and
                increased clarity. The most powerful frequency for healing.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #a8edea;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;639 Hz - Connecting Relationships&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Enhances communication, understanding, tolerance, and love. Reconnects with
                balanced relationships and creates harmonious community.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #d299c2;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;741 Hz - Awakening Intuition&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Cleans cells from toxins and electromagnetic radiation. Awakens intuition and helps
                with self-expression and problem-solving.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #ff9a9e;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;852 Hz - Returning to Spiritual Order&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Awakens intuition and inner strength. Returns to spiritual order, opening
                connection with the spiritual realm and universal energy.&lt;/p&gt;
        &lt;/div&gt;

        &lt;div class=&#34;gen-item&#34; style=&#34;border-color: #a18cd1;&#34;&gt;
            &lt;h4 class=&#34;gen-item__title&#34;&gt;963 Hz - Divine Consciousness&lt;/h4&gt;
            &lt;p class=&#34;gen-item__text&#34;&gt;Activates the pineal gland and connects with divine consciousness. Enables direct
                experience of oneness with the universe.&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;

&lt;/div&gt;
&lt;script&gt;
    const solfeggioFrequencies = [174, 285, 396, 417, 528, 639, 741, 852, 963]

    const audioContext = new (window.AudioContext || window.webkitAudioContext)()
    const frequencyStates = {}

    // Create master gain node for playback normalization
    const masterGain = audioContext.createGain()
    masterGain.connect(audioContext.destination)
    masterGain.gain.value = 1.0

    function updateMasterGain() {
        let volumeSum = 0
        let maxVolume = 0
        let activeCount = 0

        for (const freq in frequencyStates) {
            const state = frequencyStates[freq]
            if (state.playing) {
                volumeSum += state.volume
                maxVolume = Math.max(maxVolume, state.volume)
                activeCount++
            }
        }

        if (activeCount === 0) {
            masterGain.gain.setValueAtTime(1.0, audioContext.currentTime)
            return
        }

        // Use max volume as target, normalize if sum exceeds it
        const normalizationFactor = volumeSum &gt; maxVolume ? maxVolume / volumeSum : 1.0
        masterGain.gain.setValueAtTime(normalizationFactor, audioContext.currentTime)
    }

    function initializeFrequency(freq) {
        frequencyStates[freq] = {
            playing: false,
            volume: 0.5,
            oscillator: null,
            gainNode: null
        }
    }

    function startFrequency(freq) {
        const state = frequencyStates[freq]
        if (state.playing) return

        const oscillator = audioContext.createOscillator()
        const gainNode = audioContext.createGain()

        oscillator.type = &#39;sine&#39;
        oscillator.frequency.setValueAtTime(freq, audioContext.currentTime)
        gainNode.gain.setValueAtTime(state.volume, audioContext.currentTime)

        oscillator.connect(gainNode)
        gainNode.connect(masterGain)  // Connect to master gain instead of destination
        oscillator.start()

        state.oscillator = oscillator
        state.gainNode = gainNode
        state.playing = true

        updateMasterGain()  // Update normalization
    }

    function stopFrequency(freq) {
        const state = frequencyStates[freq]
        if (!state.playing) return

        state.oscillator.stop()
        state.oscillator = null
        state.gainNode = null
        state.playing = false

        updateMasterGain()  // Update normalization
    }

    function updateVolume(freq, volume) {
        const state = frequencyStates[freq]
        state.volume = volume
        if (state.playing &amp;&amp; state.gainNode) {
            state.gainNode.gain.setValueAtTime(volume, audioContext.currentTime)
        }
        updateMasterGain()  // Update normalization when volume changes
    }

    function exportWAV() {
        const lengthMinutes = parseInt(document.getElementById(&#39;exportLength&#39;).value)
        const sampleRate = 44100
        const duration = lengthMinutes * 60
        const numSamples = sampleRate * duration

        document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Generating audio...&#39;
        document.getElementById(&#39;exportBtn&#39;).disabled = true

        setTimeout(() =&gt; {
            const offlineContext = new OfflineAudioContext(2, numSamples, sampleRate)
            const activeFrequencies = []

            // Calculate sum of all volumes and find max volume
            let volumeSum = 0
            let maxVolume = 0
            for (const freq in frequencyStates) {
                if (frequencyStates[freq].playing) {
                    const vol = frequencyStates[freq].volume
                    volumeSum += vol
                    maxVolume = Math.max(maxVolume, vol)
                    activeFrequencies.push(freq)
                }
            }

            if (activeFrequencies.length === 0) {
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;No frequencies playing! Please play at least one frequency.&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
                return
            }

            // Use the max volume as target peak - this way the loudest frequency stays at its set level
            const targetPeak = maxVolume

            // Calculate normalization factor
            const normalizationFactor = volumeSum &gt; targetPeak ? targetPeak / volumeSum : 1.0

            console.log(&#39;Active frequencies:&#39;, activeFrequencies.length, &#39;Volume sum:&#39;, volumeSum, &#39;Max volume:&#39;, maxVolume, &#39;Normalization factor:&#39;, normalizationFactor)

            for (const freq in frequencyStates) {
                const state = frequencyStates[freq]
                if (state.playing) {
                    const oscillator = offlineContext.createOscillator()
                    const gainNode = offlineContext.createGain()

                    oscillator.type = &#39;sine&#39;
                    oscillator.frequency.setValueAtTime(parseFloat(freq), offlineContext.currentTime)

                    // Apply normalized volume
                    const normalizedVolume = state.volume * normalizationFactor
                    gainNode.gain.setValueAtTime(normalizedVolume, offlineContext.currentTime)

                    oscillator.connect(gainNode)
                    gainNode.connect(offlineContext.destination)
                    oscillator.start()
                }
            }

            offlineContext.startRendering().then(audioBuffer =&gt; {
                const wav = audioBufferToWav(audioBuffer)
                const blob = new Blob([wav], { type: &#39;audio/wav&#39; })
                const url = URL.createObjectURL(blob)

                const a = document.createElement(&#39;a&#39;)
                a.href = url
                a.download = `solfeggio_${activeFrequencies.join(&#39;_&#39;)}Hz_${lengthMinutes}min.wav`
                a.click()

                URL.revokeObjectURL(url)
                document.getElementById(&#39;exportStatus&#39;).textContent = &#39;Export complete!&#39;
                document.getElementById(&#39;exportBtn&#39;).disabled = false
            })
        }, 100)
    }

    function audioBufferToWav(buffer) {
        const numChannels = buffer.numberOfChannels
        const sampleRate = buffer.sampleRate
        const format = 1 // PCM
        const bitDepth = 16

        let result
        if (numChannels === 2) {
            result = interleave(buffer.getChannelData(0), buffer.getChannelData(1))
        } else {
            result = buffer.getChannelData(0)
        }

        const dataLength = result.length * (bitDepth / 8)
        const buffer2 = new ArrayBuffer(44 + dataLength)
        const view = new DataView(buffer2)

        writeString(view, 0, &#39;RIFF&#39;)
        view.setUint32(4, 36 + dataLength, true)
        writeString(view, 8, &#39;WAVE&#39;)
        writeString(view, 12, &#39;fmt &#39;)
        view.setUint32(16, 16, true)
        view.setUint16(20, format, true)
        view.setUint16(22, numChannels, true)
        view.setUint32(24, sampleRate, true)
        view.setUint32(28, sampleRate * numChannels * (bitDepth / 8), true)
        view.setUint16(32, numChannels * (bitDepth / 8), true)
        view.setUint16(34, bitDepth, true)
        writeString(view, 36, &#39;data&#39;)
        view.setUint32(40, dataLength, true)

        floatTo16BitPCM(view, 44, result)

        return buffer2
    }

    function writeString(view, offset, string) {
        for (let i = 0; i &lt; string.length; i++) {
            view.setUint8(offset + i, string.charCodeAt(i))
        }
    }

    function floatTo16BitPCM(view, offset, input) {
        for (let i = 0; i &lt; input.length; i++, offset += 2) {
            const s = Math.max(-1, Math.min(1, input[i]))
            view.setInt16(offset, s &lt; 0 ? s * 0x8000 : s * 0x7FFF, true)
        }
    }

    function interleave(leftChannel, rightChannel) {
        const length = leftChannel.length + rightChannel.length
        const result = new Float32Array(length)

        let inputIndex = 0
        for (let i = 0; i &lt; length;) {
            result[i++] = leftChannel[inputIndex]
            result[i++] = rightChannel[inputIndex]
            inputIndex++
        }
        return result
    }

    // Initialize frequency states
    solfeggioFrequencies.forEach(freq =&gt; {
        initializeFrequency(freq)
    })

    // Event listeners
    document.addEventListener(&#39;click&#39;, (e) =&gt; {
        if (e.target.closest(&#39;.play-btn&#39;)) {
            const btn = e.target.closest(&#39;.play-btn&#39;)
            const freq = parseInt(btn.dataset.freq)
            const playIcon = btn.querySelector(&#39;.play-icon&#39;)
            const pauseIcon = btn.querySelector(&#39;.pause-icon&#39;)

            if (frequencyStates[freq].playing) {
                stopFrequency(freq)
                playIcon.classList.remove(&#39;hidden&#39;)
                pauseIcon.classList.add(&#39;hidden&#39;)
            } else {
                startFrequency(freq)
                playIcon.classList.add(&#39;hidden&#39;)
                pauseIcon.classList.remove(&#39;hidden&#39;)
            }
        }
    })

    document.addEventListener(&#39;input&#39;, (e) =&gt; {
        if (e.target.classList.contains(&#39;volume-slider&#39;)) {
            const freq = parseInt(e.target.dataset.freq)
            const volume = e.target.value / 100
            const valueDisplay = e.target.parentElement.querySelector(&#39;.volume-value&#39;)
            valueDisplay.textContent = e.target.value
            updateVolume(freq, volume)
        }
    })

    document.getElementById(&#39;exportLength&#39;).addEventListener(&#39;input&#39;, (e) =&gt; {
        document.getElementById(&#39;lengthValue&#39;).textContent = e.target.value
    })

    document.getElementById(&#39;exportBtn&#39;).addEventListener(&#39;click&#39;, exportWAV);
&lt;/script&gt;
</description>
    </item>
    
  </channel>
</rss>
