Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 12-14-2021, 01:22 PM   #1
RichCaloggero
Human being with feelings
 
Join Date: Dec 2021
Posts: 10
Default jsfx : debugging messages / facility to write text on screen without using graphics c

First, as a new user around here, I want to thank the reaper devs for making an amazing piece of software and offering it to the world for a reasonable price.

As a blind user, reaper has made it possible for me to do things that I could simply never do before. One of those things is exploring the wonderful world of DSP development. Eel2 (i.e. JSFX) is easy to write and does pretty much everything you'd ever want. I've also been using the cookDSP library found in the atk for reaper (ambisonic toolkit for reaper) distribution. It has many excellent filter implementations etc, all clearly documented in the code.

Now for my question: as a blind user, I have no access to the jsfx development environment. I can get syntax error messages via my screen reader as they show up in the reaper fx window. However, I cannot write out debugging info for myself (i.e. there is no print function as in just about every other language). There is a way using the graphics facility to write text to the screen, but this is completely inaccessible to screen readers as it draws bitmaps. Would it thus be possible to implement a simple way to write text to the screen in a way that is detectable by a screen reader (i.e. the screen reader can detect sliders and their values). One way to do it would be to have a slider whose value you set to the value of a variable to examine it's contents, but this is kind of a lame way to do it.

Thanx for any help / info ...


-- Rich
RichCaloggero is offline   Reply With Quote
Old 12-14-2021, 03:21 PM   #2
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,891
Default

That would be really useful. I wonder if Justin could crowbar ShowConsoleMsg() into JSFX? I know he's been poking around in the code recently.
IXix is offline   Reply With Quote
Old 12-14-2021, 04:31 PM   #3
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,745
Default

I will look at adding something for this!
Justin is online now   Reply With Quote
Old 12-15-2021, 02:39 AM   #4
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,891
Default

Quote:
Originally Posted by Justin View Post
I will look at adding something for this!
REAPER devs are the best devs.
IXix is offline   Reply With Quote
Old 12-15-2021, 03:15 AM   #5
souk21
Human being with feelings
 
souk21's Avatar
 
Join Date: Mar 2021
Posts: 482
Default

Quote:
Originally Posted by Justin View Post
I will look at adding something for this!
Thanks! That would definitely be a wonderful addition
souk21 is offline   Reply With Quote
Old 12-28-2021, 11:14 AM   #6
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,745
Default

Coming in a build soon, there will be a writable string (#dbg_desc, probably) that will update the description in the main plug-in UI

Last edited by Justin; 12-28-2021 at 11:30 AM.
Justin is online now   Reply With Quote
Old 12-28-2021, 02:32 PM   #7
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,891
Default

Quote:
Originally Posted by Justin View Post
Coming in a build soon, there will be a writable string (#dbg_desc, probably) that will update the description in the main plug-in UI
Cool! Any chance of a message log window like ReaScript at some point? Would be very handy for quick traces and such.
IXix is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.