Software:MilkDrop

From HandWiki
Revision as of 06:39, 9 February 2024 by John Marlo (talk | contribs) (correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Music visualization software
MilkDrop
Developer(s)Ryan Geiss
Initial release5 November 2001; 23 years ago (2001-11-05)
Stable release
Winamp: 2.25d, Kodi: 20.2.0
Operating systemWindows / HTML5
TypeMusic visualization
LicenseBSD license
Websitehttp://www.geisswerks.com/milkdrop/
Screenshot of preset included in MilkDrop version 1.04d

MilkDrop is a hardware-accelerated music visualization plugin for Winamp and Kodi, which was originally developed by Ryan Geiss in 2001. It uses DirectX and beat detection to render iterated images which blend seamlessly.[1] MilkDrop uses a complex system of interpolation to transition between presets gradually through time, creating a constantly changing visual experience.[2]

Presets

MilkDrop is an environment for running presets, software which controls MilkDrop, and does not produce visualizations by itself.

Presets are saved in .milk file format, typically in a subfolder of the MilkDrop plugin directory. Creating new presets is generally referred to as authoring, or writing, making the person that wrote a preset its author. Presets are distributed on the Internet through Winamp, the Winamp forums, and through the personal webpages of MilkDrop preset authors.[3] A preset's title also doubles as its .milk save name, and usually includes the preset author or authors' pseudonym. MilkDrop presets often have more than one author, which is generally referred to as remixing or editing. A remix or an edit will often include these terms in the preset's title.

Double-Presets

MilkDrop 3.0 introduced a new type of .milk2 file format combining two presets and displaying them simultaneously. The first lines contains the blending information (blending_pattern, blending_progress, blending_direction and the fives random values used for blending pattern like plasma. The first preset is saved between [PRESET1_BEGIN] and [PRESET1_END], the second one between [PRESET2_BEGIN] and [PRESET2_END], and since MilkDrop version 3.2, an extra line containing the original preset name after 'NAME='.

Creating presets

Screenshot of preset displaying custom wave per-frame code along with the resulting visual effect

A current .milk file is composed of four major different kinds of scriptable equations. These include per_frame and per_pixel equations, as well as custom shapes and custom waves.[3]

Code in the per_frame section is executed once for each frame, modifying variables which affect different parameters that can be passed to other areas of code. Trigonometric functions which modify MilkDrop's internal looping time variable, systems of logic, and interaction with the audio information received from Winamp or other applicable media player's Fast Fourier transform (FFT)[4] can be used to govern how these parameters evolve through time.[3][5]

Code in the per_pixel section of MilkDrop is not actually re-evaluated at every pixel as the name would suggest, rather the screen is divided into a grid and the code is evaluated at each grid point.[6] The pixels in-between these points interpolate their values from the surrounding four points on the grid. The size of the grid is 32×24 by default, but can be set higher or lower by the user. Per_Pixel equations allow the preset author to alter some of MilkDrop's parameters differently in certain areas of the screen based upon x and y values, distance from the center of the screen, and the angle.[3]

Custom shapes and custom waves each have variables which allow the author to change the shape, size, color, and location on screen, among other things. Shapes and custom waves each have internal per_frame code that affects these variables similarly to how per_frame equations affect the entire preset. Custom shapes and waves equations are included in MilkDrop version 1.04 and later.[3] While initially MilkDrop allowed four custom shapes and waves, the latest version of the MilkDrop beta allows up to five custom shapes and five custom waves to be utilized per preset,[7] and up to 16 in the version of MilkDrop 3.0.

History

Milkdrop is the successor of an earlier music visualization software by Ryan Geiss, the geiss plugin for Winamp, released around 1998.[8][9] The geiss plugin did the real-time music visualization purely software rendered by utilizing the CPU effectively by highly optimized, hand-tuned assembly code.[8][10]

In 2001 the first version of milkdrop was written, built around the now widely available GPU hardware.[11] Ryan Geiss released 12 versions of MilkDrop between 5 November 2001 and 31 July 2003.[12]

Originally closed source, version 1.04 Milkdrop's source code was released under the BSD license in May 2005.[13][14] Geoff "Redi Jedi" Potter[15] has taken up developing the program since 2005 and has released six beta versions.[7]

With the availability of the source code, MilkDrop has been ported to many platforms: for instance to XBMC (now Kodi), a homebrew developed media player that can be downloaded for Xbox, PC, or as a LiveCD.

projectM[16] is an implementation of MilkDrop using OpenGL in C++, and is released under the GNU LGPL. It is available as a plugin for Audacious, XMMS, Winamp, iTunes, Jack, PulseAudio, foobar2000, Windows Media Player, VLC media player and XBMC, and also as a standalone desktop application.[17] The VLC versions 2.2.x does not support the projectM plugin. however it returned to VLC 3.0.0.[18] It comes natively with Clementine, Poweramp, and Qmmp that are also available in the Play Store on Android.

MilkDrop 2.0 was released in 2007, introducing Per Pixel Shader support. It is available with Winamp 5.5 or from projectM in their 2.0.1 version for use with other players like VLC media player. MilkDrop 2 added DirectX 9.0 support and added the ability to use pixel shaders in its presets.

The source code for MilkDrop 2.25c has been released on 15 May 2013.[11]

Milkdrop is implemented in Winamp (actual 5.66).

MilkDrop 2.25d was released in December 2022.

MilkDrop 3.0 has been released on the 3rd March 2023.

Reception

In 2011, Milkdrop was retrospectively described as "the greatest single work of art produced during the naughties".[19]

According to the Winamp main download page, the milkdrop plugin and its predecessor Geiss were the most downloaded plugins overall, with 2,737,890 and 4,686,010 downloads (on 10 August 2014), respectively.[20]

The Flickernoise software for the Milkymist One video synthesizer is largely inspired by MilkDrop, and is compatible with MilkDrop presets to some extent.

Butterchurn

Butterchurn (2018) is a web implementation of the original source code of Milkdrop released on the WinAmp forum in 2007.

2020

Butterchurn v2.6.7.1e-complete (2020-08-20) is easy to implement with example webpage and extended functions and implementation manual.[21][better source needed]

MilkDrop 3.0

MilkDrop 3.0 (2023) is an updated fan version of MilkDrop released on the WinAmp forum in 2023 by MilkDrop2077 MilkDrop3 supports any audio sources (like Spotify or YouTube), double-preset, loading presets based on beat detection, new waveforms, new transition effects, adding live effects, and is actively developed.

See also

References

  1. "MilkDrop 1.04 for Windows 2000/NT/ME/98/95". Shareware Music Machine. Hitsquad Pty Ltd. http://www.hitsquad.com/smm/programs/MilkDrop/. 
  2. MilkDrop Version History
  3. 3.0 3.1 3.2 3.3 3.4 MilkDrop preset authoring guide
  4. "change the drawing order? – Winamp & SHOUTcast Forums". http://forums.shoutcast.com/showthread.php?s=c176291118558c0648ffd6658ea45e97&threadid=229304. 
  5. Beginners Guide to MilkDrop Preset Writing 28 February 2002.
  6. Beginners Guide to MilkDrop Preset Writing: Additional per_pixel Effects 28 February 2002.
  7. 7.0 7.1 Development
  8. 8.0 8.1 Geiss, Ryan. "geiss.txt". http://docs5.chomikuj.pl/2333785584,PL,0,0,geiss.txt. ""GEISS is entirely copyright (c) 1998–2000 by Ryan M. Geiss [...] Geiss uses hand-tuned x86 assembly language to reach blazing speeds, generating smooth and graceful realtime graphics... and it can hear whatever your computer hears and synchronize the graphics it generates to the sound you're hearing."" 
  9. "Geis". http://customize.org/visplugs/1870. 
  10. "Frequently-asked questions about Geiss for Winamp". http://www.geisswerks.com/geiss/faq_plug.html. ""Also, a 3d-accelerated video card will make NO difference.. What you see in Geiss right now is not hardware accelerated (nor can it be)."" 
  11. 11.0 11.1 "Geisswerks – About MilkDrop". http://www.geisswerks.com/about_milkdrop.html. 
  12. MilkDrop 2.0d (January 2008)
  13. MilkDrop plug-in for Winamp
  14. Milkdrop 1 Source Code released (May 4, 2005) http://www.nullsoft.com/free/milkdrop_1.04_Source.zip[yes|permanent dead link|dead link}}]
  15. About me
  16. "projectM". http://projectm.sourceforge.net/. 
  17. "GitHub - projectM-visualizer/frontend-sdl2: Standalone application based on SDL2 that turns your desktop audio into awesome visuals. Available on most platforms supported by both libprojectM and libSDL2.". https://github.com/projectM-visualizer/frontend-sdl2. 
  18. "ProjectM visualization choice missing from VLC 2.2.0 – The VideoLAN Forums". https://forum.videolan.org/viewtopic.php?f=14&t=124958&p=425222&hilit=projectM#p425222. 
  19. Nielson, Jim (13 February 2011). "Milkdrop". futureartnow.org. http://www.futureartnow.org/fan/?tag=ryan-geiss. ""To my mind, the greatest single work of art produced during the naughties – at least the greatest of which I'm so far aware – may be Ryan Geiss's open-source music visualization plugin project, Milkdrop."" 
  20. "Winamp Visualization Most Downloaded". http://uploadgeneration.info/Winamp/www.winamp.com/visualizations/most-downloaded.html. 
  21. "MilkDrop easy to implement on webpages ...". http://forums.winamp.com/showthread.php?t=456212#3. 

External links