Commit Graph
100 Commits
Author SHA1 Message Date
onyx_online ad58852a77 improve efficiency with cached properties and struct.unpack 2026-03-07 14:22:25 +00:00
onyx_online 5363584940 improve to_bytes efficiency with struct.pack 2026-03-07 14:20:31 +00:00
onyx_online 9f43ee18d3 add more enums so we can remove some of the constants
rename some of the packet classes

patch bump
2026-03-07 00:03:46 +00:00
onyx_online 3cde874a3c remove unnecessary assignment 2026-03-03 20:03:09 +00:00
onyx_online 3d01321be3 separate ping from pong
this separates concerns and allows the pong_timeout to strictly handle timeouts for pongs.

patch bump
2026-03-03 19:47:15 +00:00
onyx_online 2dd52a7258 move ping timeout logic into decorator
patch bump
2026-03-03 18:21:14 +00:00
onyx_online 28cbef5ef6 patch bump 2026-03-03 15:48:23 +00:00
onyx_online 5b3b35fca3 flag value 2026-03-03 15:48:09 +00:00
onyx_online 7b3149a1e1 patch bump 2026-03-03 15:38:11 +00:00
onyx_online 230d9f0eb3 upd test config 2026-03-03 15:37:38 +00:00
onyx_online c9a505df0a convert Modes class to a Flag Enum type and rename it to ChannelModes
move it into vban_cmd.packet
2026-03-03 15:36:56 +00:00
onyx_online 3e3bec6d50 remove the sleep(), the @ratelimit decorator already handles this. 2026-03-03 15:31:31 +00:00
onyx_online 55b3125e10 fixes regression in apply()
patch bump
2026-03-02 23:52:06 +00:00
onyx_online 7b3340042c upd reference to ip 2026-03-02 23:26:38 +00:00
onyx_online 6ea0859180 patch bump 2026-03-02 23:25:03 +00:00
onyx_online 81ed963bea fix references to remote.ip 2026-03-02 23:24:09 +00:00
onyx_online 0b99b6a67f update references to ip kwarg 2026-03-02 23:21:57 +00:00
onyx_online 86d0aa91c3 add a ratelimit decorator to {VbanCmd}.sendtext()
ip kwarg renamed to host.
2026-03-02 23:20:45 +00:00
onyx_online cf66ae252c minor bump 2026-03-02 20:50:12 +00:00
onyx_online 42f6f29d1e add 2.9.0 to CHANGELOG 2026-03-02 20:50:05 +00:00
onyx_online a210766b7b improve framecounter thread safety 2026-03-02 20:44:08 +00:00
onyx_online 7d741d6e8b {VbanCmd}._ping() now causes login to fail fast if no pong is received. 2026-03-02 20:26:35 +00:00
onyx_online 8be9d3cb7f implement ping/pong dataclasses 2026-03-02 20:25:58 +00:00
onyx_online 23b99cb66b perform some path magic so Voicemeeter receives the entire path
patch bump
2026-03-01 21:29:09 +00:00
onyx_online 2fd7b8ad8b minor bump 2026-03-01 21:13:38 +00:00
onyx_online c851cb5abe add Recorder section to README 2026-03-01 21:11:48 +00:00
onyx_online dc681f50d0 add Recorder
add it to banana+potato
2026-03-01 21:10:10 +00:00
onyx_online a0ec00652b reduce the level of logging for packet parse errors
patch bump
2026-03-01 17:22:06 +00:00
onyx_online 69263c22f2 add 2.7.0 to CHANGELOG 2026-03-01 17:04:37 +00:00
onyx_online ad2cfeaae6 entry point now accepts a 'matrix' kind although it's main purpose is to disable the rt listener threads.
{VbanCmd}.sendtext():
- remove the @script decorator which I'm sure nobody has ever used anyway
- if rt listeners are disabled and it's a matrix query request, attempt to read a response.
2026-03-01 16:21:47 +00:00
onyx_online 1123fe6432 move header validation into class methods
add _parse_vban_service_header() helper function
2026-03-01 16:17:03 +00:00
onyx_online 3c3e415d7e add _send_request() helper method. 2026-03-01 11:09:45 +00:00
onyx_online 8cfeb45fcb update imports 2026-03-01 11:09:28 +00:00
onyx_online 10b38b3fcc move packet classes into internal packet module 2026-03-01 11:09:22 +00:00
onyx_online ff5ac193c8 add ChannelState interface, use it in the meta functions.
reword busmodes bitwise logic.

comment out ratelimit, this will probably get permanently removed.
2026-03-01 03:37:57 +00:00
onyx_online 2f3cd0e07f use db levels throughout the package. This is cleaner than converting to db but comparing raw integer values. 2026-03-01 01:08:02 +00:00
onyx_online d689b3a301 move voicemeetertype(), voicemeeterversion() and samplerate() properties into VbanPacket
add NamedTuples for Levels, Labels and States.

refactor the levels properties

update the math in util.comp()

StripLevel/BusLevel getters updated according to changes in VbanPacketNBS0

remove {VbanCmd}._get_levels(), it's no longer necessary.
2026-03-01 00:25:22 +00:00
onyx_online a8ef82166c upd publish action 2026-02-27 20:59:25 +00:00
onyx_online 79f06ecc79 add ruff+publish workflows 2026-02-27 20:57:54 +00:00
onyx_online b291c3a477 minor version bump 2026-02-27 20:36:54 +00:00
onyx_online c335d35b9f fix config extends section 2026-02-27 20:16:04 +00:00
onyx_online 911d2f64a6 import abc namespace 2026-02-08 09:09:59 +00:00
onyx_online e58d6c7242 remove comments 2026-01-18 19:57:12 +00:00
onyx_online 870a95b41e upd Strip Comp/Gate/EQ in README 2026-01-18 18:08:40 +00:00
onyx_online 59880bf582 remove comments 2026-01-18 17:22:20 +00:00
onyx_online cc58d1f081 implement {strip}.gate 2026-01-18 17:06:10 +00:00
onyx_online e37dea38b3 upd Run Tests in README 2026-01-18 15:25:05 +00:00
onyx_online 7f3b0ac7c9 upd examples to read conn from env 2026-01-18 15:17:00 +00:00
onyx_online 0512fac710 implement parametric eq 2026-01-18 15:16:48 +00:00
onyx_online d439da725c implement parametric eq 2026-01-18 14:42:07 +00:00
onyx_online 45ffed9f63 implement audibility knobs (inc comp, gate, denoiser) 2026-01-18 13:13:05 +00:00
onyx_online 14f79d1388 move namedtuples 2026-01-18 12:22:53 +00:00
onyx_online b45bd38706 use namedtuples to improve readability 2026-01-18 12:19:16 +00:00
onyx_online 312b5c5842 refactor header dataclasses 2026-01-18 11:43:43 +00:00
onyx_online ed8e281f7f remove unused func 2026-01-17 13:25:06 +00:00
onyx_online efdcfce387 refactor gainlayers and bus gains 2026-01-17 13:19:43 +00:00
onyx_online ad88286509 implement 3d parameters 2026-01-17 12:29:10 +00:00
onyx_online ecbdd2778f add classmethod from_bytes() to both RT packets NBS0/NBS1 2026-01-17 10:06:28 +00:00
onyx_online 1babf85a89 upd poethepoet ver
have poe read from .env file
rename script tasks

add py313 to tox env list
2026-01-17 09:38:44 +00:00
onyx_online fbd1d54f9b upd tests 2026-01-17 09:37:50 +00:00
onyx_online 96e9d6f4fd upd the interface to read/write multiple private/public packets.
{VirtualStrip}.bass/mid/treble implemented reading from public packet NBS=1
2026-01-17 09:37:31 +00:00
onyx_online 51394c0076 add VbanVMParamStrip defining the VMPARAMSTRIP_PACKET struct. 2026-01-17 09:35:33 +00:00
onyx_online 91feccc509 default bps to 256000 (same as VBAN-Text-Client SDK example) see https://github.com/vburel2018/VBAN-Text-Client
patch bump
2025-01-25 02:06:42 +00:00
onyx_online c9c365ac54 rename test poe scripts
add passenv = * to [testenv]
2025-01-25 02:00:54 +00:00
onyx_online 1742ff839e add ip kwarg default value 2025-01-21 16:23:59 +00:00
onyx_online 5299d9ec6b log factory steps at debug level 2025-01-17 20:49:39 +00:00
onyx_online bc2cd3e7a5 test against localhost
run tests through formatter

remove sel test from bus bool params
2025-01-17 15:01:40 +00:00
onyx_online af68c423a6 run example snippets through ruff formatter 2025-01-17 02:54:23 +00:00
onyx_online 16df0d559e make changes to sockets.
replace black+isort with ruff

upd examples
2025-01-17 02:51:17 +00:00
onyx_online dad5ee9e9d Merge pull request #4 from onyx-and-iris/dependabot/pip/virtualenv-20.26.6
Bump virtualenv from 20.23.1 to 20.26.6
2025-01-13 21:58:18 +00:00
onyx_online 8436634371 bit shift bus modes.
make modelist a BusMixin attr

remove vban.public_packet from README. It should be used only internally.

patch bump
2024-07-05 17:43:28 +01:00
onyx_online 074ba4fe77 Merge pull request #3 from onyx-and-iris/dependabot/pip/black-24.3.0
Bump black from 22.8.0 to 24.3.0
2024-04-05 03:37:24 +01:00
onyx_online 21df4998a2 upd pytest dep version 2024-02-15 18:47:44 +00:00
onyx_online 7bff293820 py 12 added to tox envs 2024-02-08 12:13:30 +00:00
onyx_online c8d0a0078d adds more logging for getters 2023-10-21 18:02:55 +01:00
onyx_online 87a1d62414 ensure we don't try to join a thread that wasn't created
(in the event of a timeout error)
2023-10-21 07:48:09 +01:00
onyx_online f863723a4e add group dev (dev-dependencies deprecated) 2023-08-27 19:04:18 +01:00
onyx_online afa1867abc add poetry badge 2023-08-19 19:56:35 +01:00
onyx_online fcb656b7d0 reword docstring 2023-08-19 19:56:17 +01:00
onyx_online 9c0e2bef39 2.4.9 section added to CHANGELOG
patch bump
2023-08-13 18:20:28 +01:00
onyx_online 36692d1bc7 fixes error with escape character in regex 2023-08-13 18:16:49 +01:00
onyx_online 753714b639 should the loader attempt to load an invalid toml config
log as error but allow the loader to continue
2023-08-13 18:16:33 +01:00
onyx_online 27a26b8fe9 remove __str__ override 2023-08-13 18:15:31 +01:00
onyx_online 79260a0e47 check vban direction
check that index is numeric

remove button as possible key.
not defined in RT packets anyway

patch bump
2023-08-10 21:24:59 +01:00
onyx_online f9bcbfa74a patch bump 2023-08-10 19:14:06 +01:00
onyx_online 0f2fb7121d add poetry test scripts for each kind 2023-08-10 19:13:34 +01:00
onyx_online a635109308 make better use of pattern matching features
error test updated
2023-08-10 19:12:52 +01:00
onyx_online a61e09b075 avoid using key word as variable name 2023-08-10 19:11:59 +01:00
onyx_online 763e44df12 refactor target
add error test for ValueError

test badges updated

patch bump
2023-08-09 17:03:55 +01:00
onyx_online 69472a783e patch bump 2023-08-07 17:39:39 +01:00
onyx_online 9a1ba06a21 update test badges 2023-08-07 17:39:26 +01:00
onyx_online 14b2ee473a mark config tests as slow 2023-08-07 17:39:13 +01:00
onyx_online ca2427c29a lowercase identifiers 2023-08-07 17:38:51 +01:00
onyx_online ebacdcf82a use _cmd() helper method to build cmd string 2023-08-07 17:38:37 +01:00
onyx_online 7416108489 add error tests 2023-08-07 16:31:19 +01:00
onyx_online bd6e57b3c6 define message attribute for VBANCMD error classes
override str magic method
2023-08-07 16:31:08 +01:00
onyx_online eed036ca03 patch bump 2023-08-05 14:06:47 +01:00
onyx_online 55211b9b19 replace generator function with factory function 2023-08-05 14:06:39 +01:00
onyx_online 4af7c0f694 initialize stop_event to None
in case outbound mode enabled
2023-08-05 14:05:18 +01:00
onyx_online f082fa8ac5 reword 2023-08-05 13:40:32 +01:00