Comments (4)
I can add an option to Shine in the near future that will offset the bars inwards, Currently it cant be done. The reason the animation gets so large when you change the volume is because none of the animations change based on the size of the canvas right now, v.1 use to do that. That will be reimplemented eventually. If you resize your canvas, you will likely see all of the animation.
from wave.js.
I can add an option to Shine in the near future that will offset the bars inwards, Currently it cant be done. The reason the animation gets so large when you change the volume is because none of the animations change based on the size of the canvas right now, v.1 use to do that. That will be reimplemented eventually. If you resize your canvas, you will likely see all of the animation.
In v 2.0.3 it looks really good on low volume, but if I increase it, it will still blow the lines to sky. Just a question, I looked into the options after update and you didn't yet implemented this option, did you? I cannot make the canvas bigger because of the web design.
from wave.js.
@frankykubo you must be using the CDN link, I just checked and for some reason its not updating. Ill have to look into a new CDN service, but the NPM package is up-to-date, and the dist/bundle.js file is updated, if you want to just download that and include it in your project for the short-term.
from wave.js.
@frankykubo you must be using the CDN link, I just checked and for some reason its not updating. Ill have to look into a new CDN service, but the NPM package is up-to-date, and the dist/bundle.js file is updated, if you want to just download that and include it in your project for the short-term.
@foobar404 I am using npm package within Vue project, so it should be working if its implemented. If it has any value, here is my initialization code:
wave.value = new Wave(audio.value, output.value);
audio.value.addEventListener('canplay', async() => {
wave.value.addAnimation(new wave.value.animations.Shine({
rounded: true,
fillColor: '#009BFF',
lineColor: '#009BFF',
lineWidth: 1,
count: 140,
diameter: 100,
frequencyBand: 'mids',
}));
canvas.value.width = 125;
canvas.value.height = 150;
});
from wave.js.
Related Issues (20)
- Ability to visualise muted audio HOT 3
- Uncaught TypeError: this.current_stream.loop is not a function HOT 4
- fromStream() Doesn't Visualize Due To self.visualize() Being Called Without the Frame Parameter
- [Evolution Proposition] Full rewrite of Wave.js in Typescript, general improvements & fixes HOT 3
- React example doesn't work HOT 1
- Please update the dist
- Padding on 'rings' style is very large.
- Is there a playFile instead of playStream? HOT 17
- Package does not have Angular ng-add support HOT 7
- You did really good work! Thank you HOT 1
- IWaveOptions types and density (trying to reproduce shockwave) HOT 4
- Visualise Audio with muted audio HOT 3
- The sound disappears! HOT 1
- Does not work on safari any work around for it? HOT 2
- Rounding on lines doesn't work properly HOT 1
- Not working on ios HOT 3
- can i help ? HOT 6
- In safari for IOS17 audio is broken
- Getting 'infinite loop' with turntable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wave.js.