Linux Sound subsystem development
 help / color / mirror / Atom feed
From: est@hyperreal.org
To: linux-sound@vger.kernel.org
Subject: oolaboola extensibility to the rescue
Date: Thu, 28 Oct 1999 16:06:55 +0000	[thread overview]
Message-ID: <marc-linux-sound-94114186215843@msgid-missing> (raw)

It's nice when, occasionally, something just works easily. :)

I've been transcribing an interview and finding my microcasette
recorder quite cumbersome to use.  I realized that a traditional
dictaphone setup would be much more productive.  This involves (a)
playing the `tape' while a pedal is depressed and (b) pausing and
backing up a little when it's released.  A MIDI sustain pedal and the
following code in my .oola/rc file created this for me.

dicta_backup = 5

def dicta_control(pn, gop = 0):
  if (gop):
    players[pn].unpause()
  else:
    players[pn].pause()
    players[pn].newpos(players[pn].posf - dicta_backup)

mi.cb['control-change'][1][64] = lambda v: dicta_control(0, v >= 64)

Eric

                 reply	other threads:[~1999-10-28 16:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-sound-94114186215843@msgid-missing \
    --to=est@hyperreal.org \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox