Getting sounds from a webradio
-
noise2sine
- Member
- Posts: 458
- Contact:
here a first idea, using the time and shell module

now, about the sound, i suppose you can route the basic output of your computer to your sound-card input used with Usine..?

now, about the sound, i suppose you can route the basic output of your computer to your sound-card input used with Usine..?
-
noise2sine
- Member
- Posts: 458
- Contact:
thanks for that first idea, can the time module be set according a week ? i mean different time set for the week end ?
Actually , can't see a solution, maybe a script guru can access to the windows clock..?
Hi!
Why not accessing the windows sheduler via the commandline?
The way I would schedule a recording
1.) It is possible to excecute a shell command with Usine Scripting: see procedure winExec(cmd : string);
2.) I would schedule a excution event to start usine at the desired time. Schtasks.exe :http://msdn.microsoft.com/en-us/library ... 85%29.aspx
3.) Write a recording patch, which is started by the scheduler and after the recording leave Usine.
Finished
But the main question is, how to get webradio sound into Usine?
I've done this some years before using a cable from the output of the soundcard and route it to the input of the soundcard and record the incomming sound. Usine can't record a webradio stream direct (as I know).
It would be possible to build an interface between e.g. VLC as webradio player, a virtual soundcard and usine.
Let me write it in a better way:
=== Preparation ===
Start Usine
Start a patch which creates a schedule (Usine Scripting)
End Usine.
=== At recording time ===
Scheduler starts Virtual Soundcard (Or it is permanent installed and comes up when windows starts up)
Scheduler starts a webradio software with output to virtual soundcard (This may also be done in the patch - as you like)
Scheduler starts Usine with an autostart patch
Patch starts recording and measures the recording time, stop and exit when recording is finished.
The good thing: Windows schedules can wakeup a switched of computer (If the BIOS supports that)
The bad thing: This configuration has so much pitfalls and the most working soultions for virtual soundcards are commercial. There is a free solution http://jackaudio.org/jack_on_windows but I never had the time to check it out. Jackaudio can accessed via Asio..
Sounds like a hell of problems.....
Maybe someone has a better idea than mine, to solve the recording part.
Peter
Why not accessing the windows sheduler via the commandline?
The way I would schedule a recording
1.) It is possible to excecute a shell command with Usine Scripting: see procedure winExec(cmd : string);
2.) I would schedule a excution event to start usine at the desired time. Schtasks.exe :http://msdn.microsoft.com/en-us/library ... 85%29.aspx
3.) Write a recording patch, which is started by the scheduler and after the recording leave Usine.
Finished
But the main question is, how to get webradio sound into Usine?
I've done this some years before using a cable from the output of the soundcard and route it to the input of the soundcard and record the incomming sound. Usine can't record a webradio stream direct (as I know).
It would be possible to build an interface between e.g. VLC as webradio player, a virtual soundcard and usine.
Let me write it in a better way:
=== Preparation ===
Start Usine
Start a patch which creates a schedule (Usine Scripting)
End Usine.
=== At recording time ===
Scheduler starts Virtual Soundcard (Or it is permanent installed and comes up when windows starts up)
Scheduler starts a webradio software with output to virtual soundcard (This may also be done in the patch - as you like)
Scheduler starts Usine with an autostart patch
Patch starts recording and measures the recording time, stop and exit when recording is finished.
The good thing: Windows schedules can wakeup a switched of computer (If the BIOS supports that)
The bad thing: This configuration has so much pitfalls and the most working soultions for virtual soundcards are commercial. There is a free solution http://jackaudio.org/jack_on_windows but I never had the time to check it out. Jackaudio can accessed via Asio..
Sounds like a hell of problems.....
Maybe someone has a better idea than mine, to solve the recording part.
Peter
+++ journeytounknownsoundscapes.blogspot.de +++
+++ DIY electronics +++ musical experiments +++ light experiments +++
+++ DIY electronics +++ musical experiments +++ light experiments +++
Some soundcards have virtual/loopback possibilities. Have you checked yours? I've used the loopback on my Saffire once in a while to capture various sources and record in Usine or an audio editor. Never tried to automate the process, though.
BTW, I used Jack for Windows for a while some years ago. It was a mess to set up, but I believe it has improved in the mean time.
...and no matter how you get the sound into Usine, make sure to turn the volume down when setting things up - it's very easy to get a nasty feedback loop going...
BTW, I used Jack for Windows for a while some years ago. It was a mess to set up, but I believe it has improved in the mean time.
...and no matter how you get the sound into Usine, make sure to turn the volume down when setting things up - it's very easy to get a nasty feedback loop going...
Bjørn S
-
noise2sine
- Member
- Posts: 458
- Contact:
Thanks a lot for your advice, i will try what you have proposed. Anyway i think it would be great to have a Usine module able to deal the calendar(year/month/day/ hour/minute/seconds/
.It can be great for programing scenarios for long time installation ...
thanks again
.It can be great for programing scenarios for long time installation ...
thanks again
-
grego mondo
- Member
- Posts: 466
- Location: 22110 Rostrenen
- Contact:
++1 for a calendar module
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
Who is online
Users browsing this forum: No registered users and 23 guests
