Volume being ingored.
See original GitHub issueSo I have a small bot with a !youtube command so we can play some music or podcasts while we are on the voice channels. The code is essentially the same one that is on the playStream
sample code:
// play streams using ytdl-core
const ytdl = require('ytdl-core');
const streamOptions = { seek: 0, volume: 0.2 };
voiceChannel.join()
.then(connection => {
const stream = ytdl('https://www.youtube.com/watch?v=XAWgeLF9EVQ', {filter : 'audioonly'});
const dispatcher = connection.playStream(stream, streamOptions);
})
.catch(console.error);
But the audio still comes out super loud. Any ideas? I’ve tried digging into the library code, but I don’t see anything that stands out to me that could be the issue.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:11 (8 by maintainers)
Top Results From Across the Web
volume being ignored | MuseScore
I am sure this question has been raised before but the dynamics on the piece I am trying to compose are just getting...
Read more >Windows 10 Sound level ignored by random applications
Some applications seem to ignore Windows' volume level, sounding way too loud, and resetting to the correct sound after I turn it up...
Read more >testdriven.io - .dockerignore being ignored by docker compose
project there is a .dockerignore that is used to ignore files within ./project. However these files are not being ignored. Does the volume...
Read more >Audio volume: ignoring certain sounds - Unreal Engine Forums
So i was wondering if there is a way to let the audio volume ignore certain sounds so they don't have reverb?
Read more >Streaming site players ignore App Volume Device and play ...
Streaming site players ignore App Volume Device and play only on Default Device (only happens on Edge). Something has apparently gone awry in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s working, although the scale it’s a bit odd. 0.5 seems to not be noticeable whereas 0.05 lowers the volume considerably.
npm i hydrabolt/discord.js#indev-prism
to get the latest voice changes, (which aren’t released yet) but you will go off release, so at some point after confirming if the change was fixed, you should just donpm i discord.js@latest