* 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
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).