Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

File:AI-generated audio featuring 1980s synthesiser pop music.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (4,096 × 512 pixels, file size: 2.24 MB, MIME type: image/png)

Summary

Description

Demonstration of an algorithmically-generated audio track featuring 1980s synthesiser pop music, created using Riffusion, an open-source fine-tuned derivative of the Stable Diffusion image-generation diffusion model that has been retrained to generate images of audio spectrograms, which can then be converted into audio files.

An audio spectrogram is a visual representation of an audio clip's frequency content, and images of spectrograms can be converted into audio via short-time Fourier transform, using the Griffin-Lim algorithm to approximate phase during audio reconstruction. While the Stable Diffusion AI model is originally intended to generate visual images from a textual prompt, Riffusion has been retrained from Stable Diffusion v1.5 to instead generate spectrogram images from text prompts describing musical motifs, fine-tuned through the use of Nvidia A10G enterprise datacenter GPUs.

Procedure/Methodology

The spectrograms were generated using the Riffusion Inference Server running the riffusion-model-v1 diffusion model, paired with the Riffusion App UI frontend. The following values were used:

  • Prompt: "1980s synthwave pop"
  • Seed Image: Marim (3 loops), Motorway (2 loops), OG Beat (3 loops)
  • Denoising: 0.75

This resulted in the output spectrogram image:

Spectrogram image

Spectrograms were then converted to WAV audio using this python script:

Audio converted from spectrogram
Riffusion generates 512×512 resolution images which each represent 5 second chunks of looping audio; for the convenience of the reader, the eight generated spectrogram images have been merged together in GIMP along the x-axis (which represents time), and the audio files have been merged together in Audacity and then converted to OGG Vorbis.
Date
Source Own work
Author Benlisquare
Permission
(Reusing this file)
Output images

As the creator of the output images and audio, I release this file under the licence displayed within the template below.

Stable Diffusion AI model

The Stable Diffusion AI model is released under the CreativeML OpenRAIL-M License, which "does not impose any restrictions on reuse, distribution, commercialization, adaptation" as long as the model is not being intentionally used to cause harm to individuals, for instance, to deliberately mislead or deceive, and the authors of the AI models claim no rights over any image outputs generated, as stipulated by the license.

Riffusion v1 model

The Riffusion v1 model, created by Seth Forsgren and Hayk Martiros, is released under the CreativeML OpenRAIL-M License and is a derivative model of the Stable Diffusion v1.5 model checkpoint.

Riffusion Inference Server

The Riffusion Inference Server is released under an MIT License.

Riffusion App
The Riffusion App is released under an MIT License.

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

17 December 2022

image/png

db4b2a1551d4c9e7e260248c2af9af2c13b4e790

2,350,541 byte

512 pixel

4,096 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:30, 17 December 2022Thumbnail for version as of 22:30, 17 December 20224,096 × 512 (2.24 MB)Benlisquare{{Information |Description= Demonstration of an algorithmically-generated audio track featuring 1980s synthesiser pop music, created using [https://www.riffusion.com/about Riffusion], an open-source fine-tuned derivative of the Stable Diffusion image-generation diffusion model that has been retrained to generate images of audio spectrograms, which can then be converted into audio files. An audio spectrogram is a visual representation of an audio c...

The following page uses this file:

Metadata