Audio Monitor

Audio Monitor 0.8.6

Just got this crash the other day when I was test streaming and recording, while messing with the monitor filters.
 

Attachments

  • Crash 2021-09-27 13-52-55.txt
    150 KB · Views: 29

Exeldro

Active Member
@datlaunchystark that crash is something setting volume on a source using obs websocket, but when audio monitor want to process the change it does not seem to have any settings.
 
Last edited:
It also happened with another websocket client being connected as well, so i wonder if it's a bug with the filters being controlled by websocket or something?
 

musasoyyo

New Member
@musasoyyo do you have a crash log for me to check?
Thank you for your response,

Today I was testing audio monitor to send some audios to a bluetooth headset (to work as an in ear monitor for my talent) and other to my audio interface, and whenever I do the smallest thing, such as adjust volume, or turn on or off the audio monitor filter, OBS crashes.

There is a copy of the report that I get, I don't know if this is what you need. If not would you be kind to point me in the right direction getting the report you need. The other report for the crash that happens everytime I close OBS (while having the audio monitor plugin installed)
 

Attachments

  • OBS-Crash report (Apple) Oct 1.txt
    147.5 KB · Views: 28
  • Carsh report when closing OBS.txt
    134.4 KB · Views: 26
Is it a known bug that the 'link mute' setting stops working on restart? I have to change the link settings to something else and back again for the Audio Monitor mute to again be ganged with the source.
 
Hello. I'm dealing with the same problem as well. The game audio. Everytime I record my video in OBS with my capture card, there is no game audio sound in my video file that I save and no game audio when i record stuff in OBS. This is so freaking frustrating because of it and I really had enough with this issue. Sorry for my language, I'm new at this. the capture card I have is 4K ultra HDMI HD and got it for 40$.
 

Spewbert

New Member
Any chance that we'll see ASIO support or similar in the future? The audio delay is really excessive -- even after a fresh restart of the program, the delay sometimes exceeds 500ms out of the gate, and grows worse over time.


This plugin is otherwise extremely polished and I'm incredibly impressed. I can understand how ASIO would not be a trivial feature to implement. Thank you for all your work!
 

Meldj

New Member
Has anybody found a reliable way to control the audio monitor volume slider via Midi? Really struggling to find an elegant solution
 

Domassimo

New Member
Has anybody found a reliable way to control the audio monitor volume slider via Midi? Really struggling to find an elegant solution
I'm not sure if it qualifies as elegant, but obs-websocket can adjust settings of an Audio Monitor filter. I believe the MIDI plugin works via obs-websocket so perhaps it's possible by hooking into a call to set a source filter?

I copy-pasted some parts of code below that I'm using. Although it's for a different use case, perhaps different language, it may give a hint.

JavaScript:
// some snippets of javascript to give an idea

// actual command via obs-websocket-js
await obs.sendCommand('SetSourceFilterSettings', {'sourceName': this.source.name, 'filterName': this.name, 'filterSettings': key_value_pair});

// these are the settings that come back from a GetSourceFilterSettings request.
// note that settings that have not been adjusted from their defaults are not returned
// so best practice is to create your data with default values, and then overwrite them with whatever gets returned
case 'audio_monitor':
    this.settings['volume']          = 100;   // [0-100] %
    this.settings['locked']          = false; // [true|false]  Volume locked
    this.settings['linked']          = false; // [true|false]  Volume linked to source volume
    this.settings['mute']            = 0;     // [0-2] index: Not linked|Linked to deactivated from main view|Linked to source muting
    this.settings['delay']           = 0;     // [0-] ms (in 100ms steps)
    // device 'default' [string]
    // deviceName 'Built-In Output' [string]
 

Meldj

New Member
I'm not sure if it qualifies as elegant, but obs-websocket can adjust settings of an Audio Monitor filter. I believe the MIDI plugin works via obs-websocket so perhaps it's possible by hooking into a call to set a source filter?

I copy-pasted some parts of code below that I'm using. Although it's for a different use case, perhaps different language, it may give a hint.

JavaScript:
// some snippets of javascript to give an idea

// actual command via obs-websocket-js
await obs.sendCommand('SetSourceFilterSettings', {'sourceName': this.source.name, 'filterName': this.name, 'filterSettings': key_value_pair});

// these are the settings that come back from a GetSourceFilterSettings request.
// note that settings that have not been adjusted from their defaults are not returned
// so best practice is to create your data with default values, and then overwrite them with whatever gets returned
case 'audio_monitor':
    this.settings['volume']          = 100;   // [0-100] %
    this.settings['locked']          = false; // [true|false]  Volume locked
    this.settings['linked']          = false; // [true|false]  Volume linked to source volume
    this.settings['mute']            = 0;     // [0-2] index: Not linked|Linked to deactivated from main view|Linked to source muting
    this.settings['delay']           = 0;     // [0-] ms (in 100ms steps)
    // device 'default' [string]
    // deviceName 'Built-In Output' [string]
Thanks for the speedy response!

I've managed to get AudioMonitor to respond to this plugin https://obsproject.com/forum/resour...soundboard-twitch-chat-with-midi-devices.940/ however the slider seems to have very rigid parametres i.e. the values it seems to be able to assing are 0% volume, 78.73% volume or 100% volume. There is no inbetween values which is killer
 

DCStrato

Member
Thank you for your response,

Today I was testing audio monitor to send some audios to a bluetooth headset (to work as an in ear monitor for my talent) and other to my audio interface, and whenever I do the smallest thing, such as adjust volume, or turn on or off the audio monitor filter, OBS crashes.

There is a copy of the report that I get, I don't know if this is what you need. If not would you be kind to point me in the right direction getting the report you need. The other report for the crash that happens everytime I close OBS (while having the audio monitor plugin installed)
I had it crash today when linking mute to source mute. Muted the source and OBS crashed. Removed that link option and all is good.

DC
 

MkRl

New Member
It is simply great.
I have one wish though: add "advanced audio options" link or menu item to the deck or its menu. This way I need to keep the audio mixer deck open although the plugin generally replaces it.
I can also report the same problem as some other users. OBS crashes when I try to move filters.
Another issue is generally negligible. After some time the sound develops a certain lag which can be only rectified by closing OBS. I am not sure if it is due to this filter/plugin. A synchronizing button would be nice if the underlying cause is difficult to discover or cope with.
OBS 27.1, windows 10
 

ASchneider

Member
Hello @Exeldro ! I was wondering: would it be possible for this plugin, someday, output any audio source to an input device, like a microphone? Since I'm not using Voicemeeter anymore, now I'm not able to do some niche stuff, for exemple: send Spotify music to my mic, so when I'm in game, I could broadcast the music to everyone from inside the game from "the sound of my voice". This is just a silly example, there are many other cool stuff you can do with it :) Thanks a lot!
 

gibsoneye

New Member
Exeldro submitted a new resource:

Audio Monitor - Audio Monitor filter for OBS Studio



Read more about this resource...
Thanks, Exeldro! This filter has great potential to solve the sync issue when sending monitored audio to virtual devices. I've spent far too much time tying to find a way to KEEP the audio sync'd and I feel fairly certain it will never be "fixed" with code that involves doing math that involves buffers. I recorded a short demo of resyncing on the fly, which as most people might know by now, relies on manually turning your filter off and back on. I would like to propose you add code that will "reset" the filter on a timed basis. Either a hard coded interval (5 minutes, for example) or add a user defined interval with accompanying graphical elements. Something akin to emulating the mouse clicks on the "eye" icon. I can provide a link to the demo video if you wish to watch it. While the process of resetting the filter could introduce a short period of silence, it would beat the heck out of constant manual intervention if you can do it with code. Thanks again for your contributions!
 

Domassimo

New Member
Thanks, Exeldro! This filter has great potential to solve the sync issue when sending monitored audio to virtual devices. I've spent far too much time tying to find a way to KEEP the audio sync'd and I feel fairly certain it will never be "fixed" with code that involves doing math that involves buffers. I recorded a short demo of resyncing on the fly, which as most people might know by now, relies on manually turning your filter off and back on. I would like to propose you add code that will "reset" the filter on a timed basis. Either a hard coded interval (5 minutes, for example) or add a user defined interval with accompanying graphical elements. Something akin to emulating the mouse clicks on the "eye" icon. I can provide a link to the demo video if you wish to watch it. While the process of resetting the filter could introduce a short period of silence, it would beat the heck out of constant manual intervention if you can do it with code. Thanks again for your contributions!
You could do this with obs-websockets. There's a command to set visibility of a source filter, effectively toggling it on and off if you set two commands with some interval between them. I can imagine some code that does this on a timer.
 

rusty1

Member
In regards to the problems on mac, I am not getting crashing. But I am getting very glitchy audio output when I turn on "Volume linked to source volume". Both the preview and output audio are affected. Basically sounds like every other frame is muted. I believe this did not used to be an issue. Perhaps it came with the OBS 27.1.3 update.
 
Top