Skip to content

Instantly share code, notes, and snippets.

@maranemil
maranemil / guide.md
Created July 1, 2026 13:02 — forked from DavraYoung/guide.md
Python Audio processing Guide

Python Audio processing Guide

Introduction

This guide is intended to provide a comprehensive overview of audio processing in Python. It will cover the basics of audio processing, including reading and writing audio files, audio manipulation, and audio analysis.

Reading and Writing Audio Files

I recommend using either pydub AudioSegment or librosa to read and write audio files in Python. Pydub is a simple and easy-to-use library for audio manipulation in Python, while librosa is a more advanced library that provides additional functionality for audio analysis.

from pydub import AudioSegment

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@maranemil
maranemil / transformKeys.php
Created May 22, 2022 16:33 — forked from goldsky/transformKeys.php
Convert under_score type array's keys to camelCase type array's keys and likewise
<?php
/**
* Convert under_score type array's keys to camelCase type array's keys
* @param array $array array to convert
* @param array $arrayHolder parent array holder for recursive array
* @return array camelCase array
*/
public function camelCaseKeys($array, $arrayHolder = array()) {
$camelCaseArray = !empty($arrayHolder) ? $arrayHolder : array();
@maranemil
maranemil / myscript.sh
Created October 17, 2021 19:31 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
@maranemil
maranemil / ffmpeg.md
Created October 30, 2020 13:02 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@maranemil
maranemil / meta-tags.md
Created December 6, 2019 11:02 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags
<?php
$app_list_strings['iso_country_code_phone_prefixes_list'] = array (
'' => '',
'AX' => 35818,
'DK' => 45,
'FO' => 298,
'FI' => 35,
'GL' => 299,
'IS' => 354,
<?php
$app_list_strings['phone_prefixes_list'] = array (
'' => '',
35818 => '+ 358 18',
45 => '+ 45',
298 => '+ 298',
35 => '+ 35',
299 => '+ 299',
354 => '+ 354',
<?php
/**
* @author Emil Kilhage <emilkilhage@gmail.com>
*/
$app_list_strings['iso_3166_1_country_code_list'] = array (
"SE" => "Sweden",
"FI" => "Finland",
"NO" => "Norway",
"DK" => "Denmark",