TextFile/Image Refresh Module Parameter?
-
- Posts: 29
- Joined: Thu May 05, 2016 7:48 pm
TextFile/Image Refresh Module Parameter?
Hey Eric,
I'm still looking/hoping for a method to accomplish what I mentioned here:
viewtopic.php?p=3615#p3615
I've tried multiple textfile & image modules in an input selector hoping they would refresh on input selection.
Perhaps a module parameter for refresh setting in seconds?
Or even midi control over the refresh button on these would be awesome, that way they could be triggered to update on demand when necessary instead of every X seconds.
Any chance we could get something like this?
I'm still looking/hoping for a method to accomplish what I mentioned here:
viewtopic.php?p=3615#p3615
I've tried multiple textfile & image modules in an input selector hoping they would refresh on input selection.
Perhaps a module parameter for refresh setting in seconds?
Or even midi control over the refresh button on these would be awesome, that way they could be triggered to update on demand when necessary instead of every X seconds.
Any chance we could get something like this?
Re: TextFile/Image Refresh Module Parameter?
midi control of the refresh button would be nice.
i'd have another application for this in mind: have people upload pictures from their phones to a server. server saves photos in some folder which is accessed by a jpgfolder-module.
if the refresh button would be controllable with modifiers even, you could have a slow ramp modifier that toggles refresh every time it hits 1.
i'd have another application for this in mind: have people upload pictures from their phones to a server. server saves photos in some folder which is accessed by a jpgfolder-module.
if the refresh button would be controllable with modifiers even, you could have a slow ramp modifier that toggles refresh every time it hits 1.
Re: TextFile/Image Refresh Module Parameter?
Yes, it's on my list . But you have to keep in mind that loading files in real-time will cause the graphics to stutter (drop frames) -- sometimes pretty badly if the files are large. Which is why I didn't design things that way to begin with.
For small text files, it won't be as much of an issue. But any other module would probably suffer, which is why most files are loaded immediately when the project is loaded. The only module that currently loads files in real-time is the JpegFolder, which is specially optimized and hardware-accelerated to provide good real-time performance.
You can actually use the JpegFolder to solve the problem, if you're willing to do a bit of a hack. Switching to a new index will always reload the image at that index; so if you have a folder with only two images in it (indexes 0 and 1), and you switch between them, it will reload them. Know what I mean? Here's an example:
In this case, each of the two images will be completely reloaded when it is selected. Try updating one of them in your image editing program and see it get reflected in Magic while the above is running.
So, theoretically what you could do is link the Index param to MIDI, and each time you want to reload index 0, you quickly switch to 1 -- a blank image -- and then back.
For small text files, it won't be as much of an issue. But any other module would probably suffer, which is why most files are loaded immediately when the project is loaded. The only module that currently loads files in real-time is the JpegFolder, which is specially optimized and hardware-accelerated to provide good real-time performance.
You can actually use the JpegFolder to solve the problem, if you're willing to do a bit of a hack. Switching to a new index will always reload the image at that index; so if you have a folder with only two images in it (indexes 0 and 1), and you switch between them, it will reload them. Know what I mean? Here's an example:
In this case, each of the two images will be completely reloaded when it is selected. Try updating one of them in your image editing program and see it get reflected in Magic while the above is running.
So, theoretically what you could do is link the Index param to MIDI, and each time you want to reload index 0, you quickly switch to 1 -- a blank image -- and then back.
-
- Posts: 29
- Joined: Thu May 05, 2016 7:48 pm
Re: TextFile/Image Refresh Module Parameter?
Understandable about the graphics stutter/stop on constant refreshing. Hence the request for midi control as an option as well. Then it wouldn't need to be constantly refreshed, but only on initiation by the user.
The JpegFolder solution works for the image issue, but not for text related issue unless jpegfolder will load text files as well?
The JpegFolder solution works for the image issue, but not for text related issue unless jpegfolder will load text files as well?
Re: TextFile/Image Refresh Module Parameter?
ah nice. the little test i did, i did with "play" and not the index. this is great .
Re: TextFile/Image Refresh Module Parameter?
True, but it would still potentially stutter at that point.Hence the request for midi control as an option as well. Then it wouldn't need to be constantly refreshed, but only on initiation by the user.
I was just referring to the possibility of having an image with text in it .The JpegFolder solution works for the image issue, but not for text related issue unless jpegfolder will load text files as well?
Re: TextFile/Image Refresh Module Parameter?
+1 For this : )
I actually would use this when I have another program front most. So if it makes a quick stutter or so does not matter for me... (i run quite a lot of automated ques and need this feature to enhance the scripting even more)
It would make my workflow quit much easier with this feature.
I actually would use this when I have another program front most. So if it makes a quick stutter or so does not matter for me... (i run quite a lot of automated ques and need this feature to enhance the scripting even more)
It would make my workflow quit much easier with this feature.
Re: TextFile/Image Refresh Module Parameter?
Another +1 for a better text module.
Something like JpegFolder but for small text files would work great for me.
Currently I am spending as much time in my image editor converting single words or phrases to JPEG ( boring.... ) as I do in MMV ( fun...) .
Cutting out the middle man would be great!
Something like JpegFolder but for small text files would work great for me.
Currently I am spending as much time in my image editor converting single words or phrases to JPEG ( boring.... ) as I do in MMV ( fun...) .
Cutting out the middle man would be great!
Re: TextFile/Image Refresh Module Parameter?
How about using multiple Text modules connected to an InputSelector module?
Re: TextFile/Image Refresh Module Parameter?
Sure, that was one way I considered doing it but I am running a separate MIDI track in my sequencer to trigger the text and
using the JpegFolder module I have 128 possible words / phrases that I can individually access from one MIDI track.
I found placing 128 Text modules in a scene with an input selector got messy pretty quick..
Thats why a "TextFolder" module would be great for me.
using the JpegFolder module I have 128 possible words / phrases that I can individually access from one MIDI track.
I found placing 128 Text modules in a scene with an input selector got messy pretty quick..
Thats why a "TextFolder" module would be great for me.
Re: TextFile/Image Refresh Module Parameter?
Ah, yes, 128 would be a lot
Re: TextFile/Image Refresh Module Parameter?
Hey, I just wanted to share this. I see a lot of questions posted regarding getting text added to MMV output.
https://drive.google.com/file/d/0B7_rNy ... sp=sharing
I used Superstring 2 to do the lyric video black text on white background. Then just added the videofile module to a preexisting MMV. I had to use a transparency module on all of the elements other than the lyric video, so the text would stand out better.
Also, Superstring offers a free demo. It will have a logo in the bottom right-hand corner, but if you crop .2 in the videofile module, it'll trim that out.
It's not perfect, but my customer is happy with it. I hope this helps to fill in one of the few missing modules in MMV.
Cheers
https://drive.google.com/file/d/0B7_rNy ... sp=sharing
I used Superstring 2 to do the lyric video black text on white background. Then just added the videofile module to a preexisting MMV. I had to use a transparency module on all of the elements other than the lyric video, so the text would stand out better.
Also, Superstring offers a free demo. It will have a logo in the bottom right-hand corner, but if you crop .2 in the videofile module, it'll trim that out.
It's not perfect, but my customer is happy with it. I hope this helps to fill in one of the few missing modules in MMV.
Cheers
-
- Posts: 1
- Joined: Tue Oct 17, 2017 2:13 am
Re: TextFile/Image Refresh Module Parameter?
So I am looking for a refresh for the Text File also because I currently have a 30 band spectrum visualizer that I want to just have run in the background at a party at my place. The music for the party would run though this and be on the TV. I have the song title and artist stored in a .txt file by using Snaz. The text just scrolls across the screen on the bottom. The thing is I just need it to refresh the text file every so often so that I don't have to manually press it every time the song changes. Another workaround could be having the text file reload the text file every time the module is powered off, then I could just have it power off and back on every time the text gets off screen. Anyways it would be nice to have a refresh feature regardless of the fact that large files would cause dropped frames, because people could either "deal with it" or not use it.
-
- Posts: 58
- Joined: Thu Oct 20, 2016 10:43 pm
Re: TextFile/Image Refresh Module Parameter?
I would also be interested in a way to dynamically load images that are new to the folder. I just tried and JpegFolder Module doesn't load images unless the reload button is clicked.
So at least midi control would be really nice on that button.
But automatic the reload would also be awesome.
Our idea what we want to do with that:
We have a photo booth where people can shoot their images. Including them into visuals would be nice.
So next to the photo booth there would be a projection that switches btw. visuals and photos, and adds nice effects to the photos.
So at least midi control would be really nice on that button.
But automatic the reload would also be awesome.
Our idea what we want to do with that:
We have a photo booth where people can shoot their images. Including them into visuals would be nice.
So next to the photo booth there would be a projection that switches btw. visuals and photos, and adds nice effects to the photos.
Re: TextFile/Image Refresh Module Parameter?
Did anyone come up with a solution to this? I'm also trying to dynamically bring in song title in from a text file that is automatically written to every time the song changes by an outside app.