sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* upsampling and sinc-filter
@ 2021-02-20 12:36 tsepp2000
  2021-02-20 13:01 ` Måns Rullgård
  0 siblings, 1 reply; 4+ messages in thread
From: tsepp2000 @ 2021-02-20 12:36 UTC (permalink / raw)
  To: sox-users

Hi all,

I want to make 3 changes to a wav-file: 1. bit depth, 2. upsampling and
3. sinc-filter - at one time. For the upsampling I assume -L and for the
filter I assume -L. Does Sox calculate this several times in a row? Is
this the correct and most effective command?

sox 16bit_44_1.wav -b 32 -e float output.wav rate -v -L 88200 sinc -a 80
-L -21000 -t 2100

Regards
Thomas


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upsampling and sinc-filter
  2021-02-20 12:36 upsampling and sinc-filter tsepp2000
@ 2021-02-20 13:01 ` Måns Rullgård
  2021-02-22  6:15   ` tsepp2000
  0 siblings, 1 reply; 4+ messages in thread
From: Måns Rullgård @ 2021-02-20 13:01 UTC (permalink / raw)
  To: tsepp2000; +Cc: sox-users

"tsepp2000@web.de" <tsepp2000@web.de> writes:

> Hi all,
>
> I want to make 3 changes to a wav-file: 1. bit depth, 2. upsampling and
> 3. sinc-filter - at one time. For the upsampling I assume -L and for the
> filter I assume -L. Does Sox calculate this several times in a row? Is
> this the correct and most effective command?
>
> sox 16bit_44_1.wav -b 32 -e float output.wav rate -v -L 88200 sinc -a 80
> -L -21000 -t 2100

What is the purpose of the lowpass filter here?

-- 
Måns Rullgård


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upsampling and sinc-filter
  2021-02-20 13:01 ` Måns Rullgård
@ 2021-02-22  6:15   ` tsepp2000
  2021-02-22 11:12     ` Måns Rullgård
  0 siblings, 1 reply; 4+ messages in thread
From: tsepp2000 @ 2021-02-22  6:15 UTC (permalink / raw)
  To: Måns Rullgård; +Cc: sox-users

The answer is YES? :-)

Am 20.02.2021 um 14:01 schrieb Måns Rullgård:
>
>> Hi all,
>>
>> I want to make 3 changes to a wav-file: 1. bit depth, 2. upsampling and
>> 3. sinc-filter - at one time. For the upsampling I assume -L and for the
>> filter I assume -L. Does Sox calculate this several times in a row? Is
>> this the correct and most effective command?
>>
>> sox 16bit_44_1.wav -b 32 -e float output.wav rate -v -L 88200 sinc -a 80
>> -L -21000 -t 2100
>
> What is the purpose of the lowpass filter here?
>


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upsampling and sinc-filter
  2021-02-22  6:15   ` tsepp2000
@ 2021-02-22 11:12     ` Måns Rullgård
  0 siblings, 0 replies; 4+ messages in thread
From: Måns Rullgård @ 2021-02-22 11:12 UTC (permalink / raw)
  To: tsepp2000; +Cc: sox-users

tsepp2000@web.de writes:

>> Am 20.02.2021 um 14:01 schrieb:
>>>
>>>> Hi all,
>>>>
>>>> I want to make 3 changes to a wav-file: 1. bit depth, 2. upsampling and
>>>> 3. sinc-filter - at one time. For the upsampling I assume -L and for the
>>>> filter I assume -L. Does Sox calculate this several times in a row? Is
>>>> this the correct and most effective command?
>>>>
>>>> sox 16bit_44_1.wav -b 32 -e float output.wav rate -v -L 88200 sinc -a 80
>>>> -L -21000 -t 2100
>>>
>>> What is the purpose of the lowpass filter here?
>
> The answer is YES? :-)

Huh?  The resampling (rate effect) applies a low-pass filter at about 21
kHz already.  What is the purpose another one (sinc effect)?

-- 
Måns Rullgård


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-22 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 12:36 upsampling and sinc-filter tsepp2000
2021-02-20 13:01 ` Måns Rullgård
2021-02-22  6:15   ` tsepp2000
2021-02-22 11:12     ` Måns Rullgård

sox-users@lists.sourceforge.net unofficial mirror

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/sox-users

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 sox-users sox-users/ https://public-inbox.org/sox-users \
		sox-users@lists.sourceforge.net
	public-inbox-index sox-users

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.audio.sox
	nntp://news.gmane.io/gmane.comp.audio.sox
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git