---
title: "Music generate animated icon"
description: "Music generate animated icon (AI · Creation). One note becomes a beamed pair. Strong adds a short pickup, then each attached note answers the rhythm."
canonical: https://generativeicons.lottiefiles.com/icons/music-generate/
---

# Music generate animated icon

One note becomes a beamed pair. Strong adds a short pickup, then each attached note answers the rhythm.

- Id: `music-generate`
- Category: AI · Creation
- Search terms: ai music, song generator, compose, composer, create song, make music, music maker, ai song, beat maker, melody, soundtrack
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.lottiefiles.com/assets/music-generate.lottie (dotLottie, 12969 bytes, sha256 36f11a3eaf8c641e91ac51c2023bf5ff58d671f607d4a377d329902868d5ec72)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add music-generate
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/music-generate.mjs';

export function MusicGenerateIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/music-generate.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.lottiefiles.com/icons/music-generate/ · https://generativeicons.lottiefiles.com/api/icons/music-generate
