sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: "Jakub Vaněk" <linuxtardis@gmail.com>
Cc: sox-devel@lists.sourceforge.net
Subject: Re: Review/merge request - RSO/RSF support
Date: Thu, 16 May 2019 13:16:28 +0100	[thread overview]
Message-ID: <yw1xv9yatx0j.fsf@mansr.com> (raw)
In-Reply-To: <CACRsbE4WM_Oo1FJPU3h6e0hwoY8C485uTtON6NuF8Mt7crk8yA@mail.gmail.com> ("Jakub \=\?utf-8\?Q\?Van\=C4\=9Bk\=22's\?\= message of "Thu, 16 May 2019 00:30:33 +0200")

Jakub Vaněk <linuxtardis@gmail.com> writes:

> Hi all,
>
> I've created a patch for supporting for the NXT RSO / EV3 RSF (Robot
> Sound File) format. It is a format used on the stock firmware of the
> LEGO NXT and EV3 programmable bricks. I thought that it would be nice
> to have native support in SoX.
>
> The format is capable of holding U8 PCM or ADPCM samples. Currently
> decoding of both formats is implemented. However for encoding I have
> disabled the ADPCM support, because the created files sound very wrong
> on the real brick. U8 PCM mode on the other hand works well.
>
> RSO support is implemented also in FFmpeg, just the RSF alias isn't.
>
> I am posting the exported commit below. However, it is also available
> from GitHub: https://github.com/JakubVanek/sox-rsf/commit/f906852451a2efc5b1129c7b34bfc378d3f4da62.patch

Is there a specification, preferably official, for this format available
somewhere?  Could you provide a few samples?

> diff --git a/src/rso.c b/src/rso.c
> new file mode 100644
> index 0000000000000000000000000000000000000000..92256d130c63f79d1a8eb6ddf5db4197796b5f6b
> --- /dev/null
> +++ b/src/rso.c
> @@ -0,0 +1,233 @@
> +/* (c) 2019 SoX contributors

Please use your actual name in copyright tags.  If non-trivial portions
of the code were written by someone else, they should also be mentioned,
along with some kind of assurance that they approve of the distribution
under the specified licence terms (LGPL).

I will not touch patches lacking clear provenance.

-- 
Måns Rullgård


_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

  reply	other threads:[~2019-05-16 12:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-15 22:30 Review/merge request - RSO/RSF support Jakub Vaněk
2019-05-16 12:16 ` Måns Rullgård [this message]
2019-05-17 19:10   ` Review/merge request - RSO/RSF support - V2 Jakub Vaněk

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-list from there: mbox

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

  List information: https://lists.sourceforge.net/lists/listinfo/sox-devel

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

  git send-email \
    --in-reply-to=yw1xv9yatx0j.fsf@mansr.com \
    --to=sox-devel@lists.sourceforge.net \
    --cc=linuxtardis@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).