core icon indicating copy to clipboard operation
core copied to clipboard

How i can add the timeline ?

Open abdallahrabiaa opened this issue 1 year ago • 2 comments

The timeline mentioned in last realease so how can I added or access it .

380460563-c8dd6238-888a-481f-ba59-b7ccbdbac479.png

abdallahrabiaa avatar Oct 27 '24 10:10 abdallahrabiaa

The timeline itself is not public yet, however I had to add a more efficient method for retrieving the waveform. You can access it like this:

const source = await AudioSource.from('https://../.myaudio.mp3');

const samples = await source.fastsampler({
  length: 20,
  start: 20,
  stop: 1000,
  logarithmic: true,
});

k9p5 avatar Oct 27 '24 17:10 k9p5

Okay thanks 🙏

abdallahrabiaa avatar Oct 27 '24 20:10 abdallahrabiaa