Skip to content

Instantly share code, notes, and snippets.

View nez0b's full-sized avatar

PoJen Wang nez0b

View GitHub Profile
@nez0b
nez0b / plotting.m
Created April 11, 2022 16:08
[Mathematica]mathematica snippets
xLinTicksA[Opts___?OptionQ] :=
LinTicks[Log10[{10, 20, 40}], Log10[{5, 6, 7, 8, 9, 30}],
TickLabelFunction -> (DisplayForm[10^#] &),
MinorTickLength -> 0.01, Opts];
(*MeVticks=LogTicks[#1,#2,TickLabelFunction\[Rule]Function[x,1000 \
x]]&;*)
Log10Ticks[p1_Integer, p2_Integer, Opts___?OptionQ] :=
LinTicks[p1, p2, 1, 9,
TickLabelFunction -> (DisplayForm[
@nez0b
nez0b / ffmpeg.md
Created April 6, 2022 18:12
[ffmpeg]ffmpeg Guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with: