Audio tools
rengi.dev/v1/audio-tools/loop
Audio tools: Turn music or ambience into a seamless loop: cuts at zero crossings and crossfades the end into the start with an equal-power curve. Returns the loop, a 3x preview and loop points in samples. Full schema: https://rengi.dev/v1/audio-tools/schema
POST
https://rengi.dev/v1/audio-tools/loopUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://rengi.dev/v1/audio-tools/loop", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"audioUrl":"https://rengi.dev/samples/ambience.wav","crossfadeMs":250}),
});
console.log(await res.json());Example input
{
"audioUrl": "https://rengi.dev/samples/ambience.wav",
"crossfadeMs": 250
}More from Rengi Forge
- rengi.dev/v1/audio-tools/beatsAudio tools: Beat map of a song for rhythm games and music-synced effects: BPM and tempo changes, beats, bar lines, kick / snare / hat hits, and easy, normal and hard note charts on the grid, as JSON. Full schema: https://rengi.dev/v1/audio-tools/schema0.05
- rengi.dev/v1/audio-tools/cleanAudio tools: Trim silence, normalize loudness to a LUFS target with a -1 dBTP ceiling, add anti-click fades and convert (ogg, wav, mp3; mono for SFX). Returns the file, a waveform and measured stats. Full schema: https://rengi.dev/v1/audio-tools/schema0.05
- rengi.dev/v1/audio-tools/sfxAudio tools: Make 8-bit style sound effects from nothing: coin, laser, explosion, power-up, hit, jump, menu blip, click. Several takes or a family of variations per call, repeatable by seed, peak-normalized and trimmed, as WAV, OGG or MP3. Yours to use anywhere. Full schema: https://rengi.dev/v1/audio-tools/schema0.02
- rengi.dev/v1/audio-tools/variationsAudio tools: Make 2-12 variations of one sound effect with small pitch and volume changes, so repeated footsteps or hits do not sound copy-pasted. Returns each file and a ZIP. Full schema: https://rengi.dev/v1/audio-tools/schema0.10
- rengi.dev/v1/audio-tools/voiceAudio tools: Make a voice recording or TTS take game-ready: rumble high-passed, noise reduced against the measured floor, sibilance tamed, dialogue loudness (-18 LUFS) with a -1 dBTP ceiling, and a long take split into one file per phrase with a CSV cue sheet. Full schema: https://rengi.dev/v1/audio-tools/schema0.10
- rengi.dev/v1/doc-tools/images-to-pdfDocument tools: One PDF from a set of images, one per page: scans, photos of documents, screenshots, slides. Pages sized to A4 or Letter with margins, or exactly to each image; phone photos are turned upright. Full schema: https://rengi.dev/v1/doc-tools/schema0.01
- rengi.dev/v1/doc-tools/ocrDocument tools: Text recognition for scans, photos of documents, screenshots and scanned PDFs: the text in reading order, each line with its page, position and confidence. English and other Latin-script text; small or soft images are enlarged first. Full schema: https://rengi.dev/v1/doc-tools/schema0.03
- rengi.dev/v1/doc-tools/pdf-mergeDocument tools: Join PDFs into one in the order given, taking all pages or chosen ones from each. With a single file it reorders, repeats or drops pages. Full schema: https://rengi.dev/v1/doc-tools/schema0.01
- rengi.dev/v1/doc-tools/pdf-splitDocument tools: Cut a PDF into several: one file per page range you name, or equal parts of N pages. Returns each part and a ZIP of all. Full schema: https://rengi.dev/v1/doc-tools/schema0.01
- rengi.dev/v1/doc-tools/pdf-textDocument tools: Extract the text of a PDF in reading order, page by page, with its metadata (title, author, dates) and page sizes. Says which pages are scans with no text layer. Full schema: https://rengi.dev/v1/doc-tools/schema0.02
- rengi.dev/v1/doc-tools/pdf-to-imagesDocument tools: Draw the pages of a PDF as PNG, JPEG or WebP at the resolution you choose: thumbnails, previews, slides for a post, or page images to look at or run text recognition on. Full schema: https://rengi.dev/v1/doc-tools/schema0.02
- rengi.dev/v1/font-tools/bitmapFont tools: Bitmap font from a TTF/OTF: atlas PNG, BMFont .fnt with kerning, JSON and a preview of a sample line. Pixel mode snaps glyphs to whole pixels with no antialiasing. Full schema: https://rengi.dev/v1/font-tools/schema0.10
