* Apply source only once
@ 2016-04-29 14:00 Rene Maurer
2016-04-29 19:41 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Rene Maurer @ 2016-04-29 14:00 UTC (permalink / raw)
To: dtas-all
Hello
Is there a possibility to apply a source command only to the current
playing song. I mean, the source should be applied to the current song
and then when the "next" song is played, the "old" source is applied
(without user interaction).
Best René
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Apply source only once
2016-04-29 14:00 Apply source only once Rene Maurer
@ 2016-04-29 19:41 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2016-04-29 19:41 UTC (permalink / raw)
To: Rene Maurer; +Cc: dtas-all
Rene Maurer <rmnet@mailc.net> wrote:
> Is there a possibility to apply a source command only to the current
> playing song. I mean, the source should be applied to the current song
> and then when the "next" song is played, the "old" source is applied
> (without user interaction).
Somewhat... but personally, I would not do this:
Script it by using "dtas-ctl source ed ..." based on using the
"watch" command in the protocol. Sorry, there isn't a
command-line tool specifically for using "watch", but
dtas-console uses it.
Here's a bit of Ruby that should work:
require 'dtas/unix_client'
c = DTAS::UNIXClient.new
c.req('watch')
while res = c.res_wait
p res
# do something with res
end
...Instead, I use splitfx YAML files like:
https://dtas.80x24.org/examples/splitfx.sample.yml
I like having files around which I can save/edit and store in
version control rather than ephemeral commands which are more
easily lost.
I edit the "command" section as needed. It could even
be a standalone script/command for processing[1] since
big sox commands get ugly in YAML.
You may remove the "tracks" section for playback.
[1] I have some gnarly Ruby scripts for some files and am
working on libifying some of it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-29 19:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 14:00 Apply source only once Rene Maurer
2016-04-29 19:41 ` Eric Wong
everything related to duct tape audio suite (dtas)
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://80x24.org/dtas-all
git clone --mirror http://ou63pmih66umazou.onion/dtas-all
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 dtas-all dtas-all/ https://80x24.org/dtas-all \
dtas-all@nongnu.org
public-inbox-index dtas-all
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.public-inbox.org/inbox.comp.audio.dtas
nntp://ou63pmih66umazou.onion/inbox.comp.audio.dtas
note: .onion URLs require Tor: https://www.torproject.org/
code repositories for the project(s) associated with this inbox:
../../../dtas.git
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git