In this post I use Fourier transforms to revive a forgotten Gershwin piano piece.
Making GIFs From Video Files With Python
Sometimes producing a good animated GIF requires a few advanced tweaks, for which scripting can help. So I added a GIF export feature to MoviePy, a Python package originally written for video editing.
Interception of a Linear Trajectory With Constant Speed
In this post I show how helpful trigonometry can be when it comes to catching rabbits.
Placing People So That Everyone Meets
I will solve a stupid management problem using old mathematics and Google.
Delay Differential Equations in Python
I wrote ddeint, a simple module/function for solving Delay Differential Equations (DDEs) in Python. It is not very fast, but very flexible, and coded in just a few lines on top of Scipy’s differential equations solver, odeint
.
Read and Write Audio Files in Python Using FFMPEG
This article shows how easy it is to read or write audio files in a few lines Python, by calling the external software FFMPEG through pipes. If you want a battle-tested and more sophisticated version, check out my module MoviePy. Check also that other article for the same with video files.
Read and Write Video Frames in Python Using FFMPEG
This article shows how easy it is to read or write video frames with a few lines of Python, by calling the external software FFMPEG through pipes. If you want a battle-tested and more sophisticated version, check out my module MoviePy. See also this other article for the same with audio files.
A Basic Example of Threads Synchronization in Python
We will see how to use threading Events to have functions in different Python threads start at the same time.