Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
mahmood1356
on 30/08/2025, 21:28:04 UTC
No, what you did is to calculate only on this puzzle. The main ideea is to think big, out of the box. Maybe 99% are laughing about this theory, but all music songs have behind math...sequence of numbers arranged in a specific order to hear something...

I did not calculate these numbers and results based on the puzzles, but rather calculated based on the frequency and permutation of the beats of the music. If you run this code, you will see all the results for each piece of music. Maybe it will help you.
import math
import librosa
import numpy as np

def music_features_to_hex(file_path):
    y, sr = librosa.load(file_path)

    tempo, beat_frames = librosa.beat.beat_track(y=y, sr=sr)

    # Ensure tempo is a single number
    if isinstance(tempo, np.ndarray):
        tempo_val = tempo[0]
    else:
        tempo_val = tempo

    beat_times = librosa.frames_to_time(beat_frames, sr=sr)
    pitches, magnitudes = librosa.piptrack(y=y, sr=sr)

    print(f"\n🎵 Tempo: {tempo_val:.2f} BPM")
    print("🎯 Beat & Frequency Hex Values:\n")

    for frame in beat_frames:
        time = librosa.frames_to_time(frame, sr=sr)
        ms = int(time * 1000)

        pitch_slice = pitches[:, frame]
        mag_slice = magnitudes[:, frame]
        freq = int(pitch_slice[mag_slice.argmax()]) if mag_slice.any() else 0

        hex_time = hex(ms)
        hex_freq = hex(freq)

        print(f"⏱ Time: {hex_time} | 🔊 Frequency: {hex_freq}")

# Get file path from user and strip quotes if present
raw_path = input("📂 Enter the full path to your music file (Drag & Drop is supported):\n> ")
file_path = raw_path.strip().strip('"').strip("'")

music_features_to_hex(file_path)