Modstream

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
owienk
Posts: 44
Joined: 22 Jul 2017 13:56
Contact:
Modstream

Post by owienk »

Hello, Bernd,

Is it possible to select an external source in the Modstream Watcher instead of a stream?
We want to pick up the stream with a hardware decoder, and then via the modstream in proppfrexx and not with IceCast.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Modstream

Post by radio42 »

To pick up a signal from an external device, ie. a mixer input channel, you can use the Linein-Feed feature. Which you can for example schedule via a simple script/program.
User avatar
owienk
Posts: 44
Joined: 22 Jul 2017 13:56
Contact:
Re: Modstream

Post by owienk »

Do I have to do this via a reminder in the program scheduler? Or in a different way?
Is the option: “startwithNextTrack” still possible?
What happens if no stream is active / no audio on the input?

Can you share an example of the script?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Modstream

Post by radio42 »

An LineIn-Feed can also be configured in a Program Scheduler entry. For the MODSteam start control-command you typically use a reminder yes.
The option is of course still possible. Examples are given here in the user forum, just search for this command.
If the stream is not active, nothing would happen and is retried up until it is active. But if the url is active but just silent, this is not being checked.
User avatar
owienk
Posts: 44
Joined: 22 Jul 2017 13:56
Contact:
Re: Modstream

Post by owienk »

I can't figure out how to do that.
not even after searching in the forum or in the manual.
I am working as a test here with a demo version. Maybe it has to do with that?
We now have a script "non-stop" running all day, and on the hours when a DJ is allowed live, there is a reminder next to it that starts (and stops again) the modstream watcher.
How should this be programmed for a Line -in Feed?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Modstream

Post by radio42 »

From the user forum....
New 'Input' program type added
Scheduler Program entries typically have a 'Script' assigned to it, which is started and executed within the newly created playlist.
However, there are two 'special' modes available (the 'Input' mode is the new one added to this version):

a) <empty>
When not providing any script name at all and leaving this field empty, a so called 'Non-Scripting-Program' is created.
As a result any currently running program is stopped one time (just as for any other program), but no new playlist is created. Instead the 'old' playlist might simply be closed and the scheduler then waits until the next program is started.
This is typically used, when you have a live show or DJ performing in your studio and you want to kind of suspend any automatic scripting for that time.

b) >INPUT: <mixer-name>
This entry identifies an Input-Mixer-Channel instead of a script name also using a 'Non-Scripting-Program'!
When used, the related Input-Mixer-Channel is unmuted and faded-in for the time this program is running and faded-out and muted back again once this program ends.
You can select this new 'Input' mode directly from the 'Script' drop-down combo-box.

As such this new 'Input' mode comes in handy when you want to plan direct LineIn-Feeds (e.g. you want to take over a line input signal of a cetain mixer-input-channel as a regular program entry).


New 'LineIn Feed' button added to Tool ribbon
According to the above mentioned new Program Scheduler entry 'Input' mode a new 'LineIn Feed' button has been added to the 'Tools' ribbon tab.
This 'LineIn Feed' button acts as a toggle to trigger the new 'OnLineInFeedON' resp. 'OnLineInFeedOFF' events (see general settings, section 'Events/Commands' underneath the Applcation node).
When enabled the Application 'OnLineInFeedON' event is raised, when disabled the 'OnLineInFeedOFF' event is raised.
You might use these new system events to trigger the execution of any control-command(s), e.g. use the new 'MAIN_LINEIN_FEED_ON' resp. 'MAIN_LINEIN_FEED_OFF' control-command to effectively change any line input state.
This allows you to easily change the LineIn Feed even manually.


As you might see, a LIneInFeed is nothing else, that enabling a mixer input channel. This can be done via a program scheduler entry (mode Input) - or manually, e.g. using control-commands like MIXER_INPUT_VOLUME_SET, MIXER_INPUT_ON_ON... etc.
See the User Manual appendix for all available control-commands.
These can be triggered from various places, including the Reminders etc.
User avatar
owienk
Posts: 44
Joined: 22 Jul 2017 13:56
Contact:
Re: Modstream

Post by owienk »

I have created a “DJ show” in the program scheduler with script: Input: Live. This is set to start type: soft, and Overlay: Overlay end time Soft.
Now it waits nicely for the current track to finish and then starts playing if audio is active on the input.

If no audio is active on the input, the current playlist will continue to play.
But if audio is added to the input later, both channels start playing together. The current playlist will then not stop.
If audio is active on the input and it stops in the meantime, the current playlist will not run. Then it remains quiet until you manually end the DJ show.

Is there anything that can be done to always keep music and never hear music mixed up?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Modstream

Post by radio42 »

Yes, they play together, because you specified it so ;-) See the 'Overlay' option you have chosen and deactivate it.
Click on the '?' icon on the top right to get help for all options.
A LineIn feed does not detect, if there is any audio signal on the related mixer input channel.

Post Reply