Viewing PDFs in Jitter. Jweb options or other alternatives
I’ve come across a few forum posts discussing ways to view PDFs in Max, but many of the suggested methods no longer seem to work. Using JWeb as a PDF viewer is a decent workaround, but I’d really like to integrate it directly inside a Jitter matrix—something that doesn’t appear to be possible at the moment.
Ideally, I’d also want better interaction within the JWeb window, such as zooming and the ability to navigate freely without relying on click-and-drag.
For example, I’m interested in building a tool for reading musical scores in PDF format, with control features mapped inside Max—such as zooming and horizontal panning—so that navigation can be handled programmatically.
Thanks in advance for any modern solution to this!
jweb is for web, not pdf reader
this is simple in max with fpic and easily go to different levels: ie. continuous scrolling score. automated page turns etc..
edit: my bad - brain see .png -
It looks like when you load .pdf - jweb just has a stock built in pdf viewer.
(that why I snapshot all pdf and make png
Hey WIL!
that's a great option! and your patch sent me in a great direction!
Ideally I could read PDFs without needing to convert them, but this works great with that extra small step.
This patch, is to explore options for a visually impaired musician, who, with a controller, would be able to navigate their score with a zoom in feature, X position, would be a continuous value, for them to control, and then the Y pos are steps, which are preset ahead of time, with the amount of Staves on the page, allowing them to jump down to the next line.
this works, with converting a multi-page pdf into a folder!
maybe there is a better solution down the road, but this is great for now!
p.s. Ideally, I would like to use a computer vision algo, to replace the need to input the amount of staves on the page, and jump sequence. perhaps there is something in cv.jit which would jump down to the next staff and center it on the screen.