GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — beepFade/README.md at master · Programmerino/beepFade

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
12 lines (12 loc) · 570 Bytes
/

README.md

Copy path

File metadata and controls

12 lines (12 loc) · 570 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

beepFade

Adds a new fading effect for the Golang Beep library

How to use

Crossfade between songs

// CrossfadeStream crossfades between all songs specified in files
// The sample-rates between the two streams must be the same, otherwise weird things might happen
// If opts is nil, then reasonable defaults are used
streamer := beepFade.CrossfadeStream(format, nil, stream1, stream2)
// This streamer will fade into stream1, and then crossfade between stream1 and stream2, and then fade out of stream2

A full example can be found in the example folder

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.