Short audio clips won't load correctly #3610
Unanswered
Samalander0
asked this question in
Q&A
Replies: 1 comment
-
Hmm it’s supposed to fill the container even with a lower px-per-second. Can you upload a sample file for me to test? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using SvelteKit and having this issue where short audio clips will not display
![image](https://private-user-images.githubusercontent.com/51756184/317569849-98ff00a5-be57-4ccc-8f0e-329d8872d576.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA5OTgyNTEsIm5iZiI6MTcyMDk5Nzk1MSwicGF0aCI6Ii81MTc1NjE4NC8zMTc1Njk4NDktOThmZjAwYTUtYmU1Ny00Y2NjLThmMGUtMzI5ZDg4NzJkNTc2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE0VDIyNTkxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyNDhkMjhhZWNiYjYyNDY1MTQ5YWEyMzdkZDliNDg3YjY2MTVlNWZiYzQ1ZWQ1OTljOGI0YmU4NTBiY2ZmYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.e6kAka0inHHZPCY2WT66rnnNqTAVSrimATEV9QkpFz4)
Here's how I'm loading the waveform:
![image](https://private-user-images.githubusercontent.com/51756184/317569911-8e87ad88-8c65-4fcc-9b74-84be96502559.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA5OTgyNTEsIm5iZiI6MTcyMDk5Nzk1MSwicGF0aCI6Ii81MTc1NjE4NC8zMTc1Njk5MTEtOGU4N2FkODgtOGM2NS00ZmNjLTliNzQtODRiZTk2NTAyNTU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE0VDIyNTkxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBiOWYyNDUzYTkyMDJhMzUzODMxZGEyMDRlZTQzOGQ0N2JmN2E2OWMyMGFjMDZkZTlhNWY4NTIyZjU0MGJjZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.YUD-Xkw6W5TJFMqZEpFHZDiVls85DeGgpd7WLUzCnkQ)
This other discussion mentions that WAV files don't work if they're on the shorter end, but I just tried switching to MP3s and still having that same issue.
Any ideas on why this is happening or how it could be fixed?
Edit: did some testing and it seems to me that if the audio won't fill the entire container, it won't work. I could fix this by upping the pixels per second, but it's not a fix I like.
Beta Was this translation helpful? Give feedback.
All reactions