![]() Ok so maybe it is the audio file that I am using but when I was playing with the reflectedPeaks area and or using the example of "sound cloud" which makes them smaller what happened is half the audio file went below the middle and the other half stayed above. What I thought was looking at the array of data was to compare similar values to find the overlap but in those arrays how much time does each array index represent? would I just divide that by the total duration and then say ok well at these seconds in time they are similar so increment overlapCount ? Which brings me to my next question in regards to the 0 and 1 that you mentioned. I also noticed I have negative values so technically its not always 0 is it because of the relativeNormalization ? The easiest way would be to extend upon the MultiCanvas renderer and define custom methods for the parts you want to customise (overwriting the inherited ones) Then you inject it into wavesurfer by passing the class as the renderer parameter. Note that you need a code transpiler for this to work (like babel). (WaveSurfer 4000HD and WaveSurfer 3000z) WaveSource Automatic Waveform Generator (FG software option) allows you to output custom sine, square, triangle, pulse, DC, noise, and arbitrary waveforms from the oscilloscope. Here is another question that came to mind, completely unrelated. Well it looks like you gotta add custom parameters, which I don't think you can do out of the box in create-react-app.If you Google around there's some tools you can use to work around this, but a simpler way might just be to download the relevant wavesurfer.js files you need and include them in the of you index.html, so they're all loaded before you actual app loads. To celebrate the 10-year anniversary of wavesurfer.js, we created an NFT representing the initial commit to this repository. WAVESURFER CUSTOM STYLE DOWNLOAD So the audio files are stored on aws and are actually encrypted using a private key. ![]() ![]() If you're a company, or an individual, wishing to support the project, please consider buying this memorable commit. Is it possible to to load the audio in chunks as a stream of decoded data? Obviously this would require some work but I don't know enough about the web-audio API to know if it can support that? I was thinking like chunks loaded into a 'playlist' that would essentially be loaded into a temporary memory cache and destroyed after play. Attempting to keep the encrypted audio as protected as possible. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |