Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

audio

Pygame, sounds don’t play

August 14, 2022 by Magenaut

I’m trying to play sound files (.wav) with pygame but when I start it I never hear anything.
This is the code:

Categories Python, Q&A Tags audio, pygame, python Leave a comment

How to convert a .wav file to a spectrogram in python3

August 12, 2022 by Magenaut

I am trying to create a spectrogram from a .wav file in python3.

Categories Python, Q&A Tags audio, matplotlib, numpy, python, spectrogram Leave a comment

How to generate audio from a numpy array?

August 12, 2022 by Magenaut

I want to create “heart rate monitor” effect from a 2D array in numpy and want the tone to reflect the values in the array.

Categories Python, Q&A Tags audio, matplotlib, numpy, python Leave a comment

Python Sound (“Bell”)

August 11, 2022 by Magenaut

I’d like to have a python program alert me when it has completed its task by making a beep noise. Currently, I use import os and then use a command line speech program to say “Process complete”. I much rather it be a simple “bell.”

Categories Python, Q&A Tags audio, macos, python, terminal Leave a comment

How do I make my pc speaker beep

August 10, 2022 by Magenaut

Using bash, how can I make the pc speaker beep?

Categories Q&A, Unix & Linux Tags audio, command-line Leave a comment

How to pipe audio output to mic input

August 10, 2022 by Magenaut

I’ve looked all over the internet for a clean way to reroute the audio output of my computer (i.e. what I’d hear from the speaker) to my microphone’s input.

Categories Q&A, Unix & Linux Tags alsa, audio Leave a comment

How do I configure PulseAudio for 7.1 Surround Sound over HDMI?

August 10, 2022 by Magenaut

I have my machine connected over HDMI to a receiver. But when I try to use more than two channels with PulseAudio, I only get two. pacmd list cards shows the card, but does not show an HDMI profile with more than two channels.

Categories Q&A, Unix & Linux Tags audio, hdmi, pulseaudio Leave a comment

Generating random noise for fun in /dev/snd/

August 9, 2022 by Magenaut

Recently I have been exploring the enchanted /dev folder. I want to write some random data to an audio device in order to generate some noise.

Categories Q&A, Unix & Linux Tags alsa, audio Leave a comment

Mapping metadata with avconv does not work

August 9, 2022 by Magenaut

The way I understand man avconv (version 9.16-6:9.16-0ubuntu0.14.04.1), the following command should convert input.ogg to output.mp3 and carry over metadata:

Categories Q&A, Unix & Linux Tags audio, conversion, ffmpeg, options, tagging Leave a comment

How to disable system beep for non-privileged user

August 9, 2022 by Magenaut

How to disable system beep on Linux? I don’t have superuser powers so I cannot recompile kernel/unload module.

Categories Q&A, Unix & Linux Tags audio, linux Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page5 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress