Petrov's pcm_play and pcm_conv FFT/DCT

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Petrov's pcm_play and pcm_conv FFT/DCT

Postby igorzwx » Wed Jan 14, 2015 6:50 pm

pcm_conv - portable stand-alone resampler/converter

How to use:

Code: Select all

$ ./pcm_conv -f 192000 -b 24 -T fft -v 2L38_01_DXD.wav output_192kHz_24bit.wav
=================================================================
Module Info:

Short name: WAVE PCM Converter
Long name : Convert PCM format for WAVE files
Copyright : Copyright (c) 2009-11 PetrovSE
Version   : 1.0.4.0
Build     : Feb 29 2012, 19:03:16, linux-i386
=================================================================

Input file : 2L38_01_DXD.wav
 Samples rate    = 352800 Hz
 Channels        = 2
 Bits per sample = 24 (actual: 24, fixed)

Output file: output_192kHz_24bit.wav
 Samples rate    = 192000 Hz
 Channels        = 2
 Bits per sample = 24 (actual: 24, fixed)

        FL      FR     
FL      1.000   -----   
FR      -----   1.000   

Windows : "Vorbis" (37632 => 20480)
Delay   : 107 ms
Sync.   : ON
Trans.  : "FFT"


[|||||||||||||||||||||||||||||||||||||||||||||||||||]  99.0 %
Ok.

File duration  : 554.893333 sec
Processing time: 29.620000 sec ( 5.34% of real time)


If you do not have a soundcard which supports 352.8kHz 24bit format, it makes sense to downsample DXD waves with Petrov's resampler. They may sound better than those downsampled with the crappy Weiss SARACON Sampling Rate Converter, see: _http://www.opensound.com/forum/viewtopic.php?f=3&t=4423

Code: Select all

$ ./pcm_conv -h
Usage: pcm_conv <input file> [output file]
               [-c number of channels]
               [-b number of bits] [-f frequency]
               [-v] [--info] [-h|--help|--help-all]

Options:
 input file    Input WAVE file
 output file   Output WAVE file (by default is "convert.wav")

 -b            Number of output bits: 8, 16 .. 32, 32f or 64f
 -f            Output sample rate (in Hz). Tested: from 6000 to 192000

 -v            Show verbose information
 --info        Show wide modules information
 -h, --help    Show this message
 --help-all    Show all help info


Code: Select all

$ ./pcm_conv --help-all
Usage: pcm_conv <input file> [output file]
               [-c number of channels]
               [-m mask] [-n on|off]
               [-I input order] [-O output order]
               [-b number of bits] [-f frequency]
               [-T trans] [-W win]
               [-v] [--info] [-h|--help|--help-all]

Options:
 input file    Input WAVE file
 output file   Output WAVE file (by default is "convert.wav")

 -c            Number of output channels:
               1 - mono
               2 - stereo
               3 - 2/1 surround
               4 - 2/2 quadro
               5 - 3/2 surround
               6 - 3/2+SW dolby
 -m            Channel mask (may be conflict with '-c')

 -n            Normalize channel matrix (by default on)
 -I            Input channel order (see below)
 -O            Output channel order (see below)

Available channels:
 MS  : FL,FR,FC,LFE,BL,BR,RL,RR,BC,SL,SR,TC,TFL,TFC,TFR,TBL,TBC,TBR
 ALSA: FL,FR,BL,BR,FC,LFE,RL,RR
 OSS : FL,FR,FC,LFE,BL,BR,RL,RR

 -b            Number of output bits: 8, 16 .. 32, 32f or 64f
 -f            Output sample rate (in Hz). Tested: from 6000 to 192000

 -T            Transform type: dct, fft (default: dct)
 -W            Window type: vorbis, hanning, rect (default: vorbis)

 -v            Show verbose information
 --info        Show wide modules information
 -h, --help    Show this message
 --help-all    Show all help info


pcm_play - portable stand-alone player for WAVE PCM files

How to use:

Code: Select all

$ ./pcm_play *.wav -s oss -f 48000 -b 16 -T fft -e -d /dev/dsp
$ ./pcm_play *.wav -s oss -f 96000 -b 32 -e
$ ./pcm_play *.wav -s oss -f 192000 -b 32 -T fft -e


-e is "exclusive mode" (for OSS and DirectSound). It disables VMIX and the "cooked mode" (same as "ossplay -R").

Code: Select all

$ ./pcm_play -k
Keyboard shortcuts:
 'Left' / 'Right'   Seek backward/forward 1 second.
 'Down' / 'Up'      Seek backward/forward 10 seconds.
 'SPACE'            Pause (pressing again unpauses).
 'Esc'              Stop playing and quit.

Usage: pcm_play <file> [-w] [-s name] [-d device]
               [-c numb. of channels] [-b numb. of bits]
               [-f frequency] [-l] [-n] [-k] [-i] [-h]     


Code: Select all

$ ./pcm_play -h
Usage: pcm_play <file> [-w] [-s name] [-d device]
               [-c numb. of channels] [-b numb. of bits]
               [-f frequency] [-l] [-n] [-k] [-i] [-h]

Options:
 file          WAVE file

 -w            Available wave systems and devices
 -s            Wave system name
 -d            Wave device name or number

 -c            Number of output channels:
               1 - mono
               2 - stereo
               3 - 2/1 surround
               4 - 2/2 quadro
               5 - 3/2 surround
               6 - 3/2+SW dolby

 -b            Number of output bits: 8, 16 .. 32, 32f or 64f
 -f            Output sample rate (in Hz). Tested: from 6000 to 192000

 -l            Loop playback
 -e            Exclusive mode (for OSS and DirectSound)

 -T            Transform type: dct, fft (default: dct)
 -W            Window type: vorbis, hanning (default: vorbis)

 -n            Show internal information
 -k            Show keyboard shortcuts

 -i            Show wide modules information
 -h            Show this message                             


EXAMPLE:

Code: Select all

$ ls
01_sound_sample2_24_96.wav 
pcm_play
$ ./pcm_play *.wav -s oss -f 192000 -b 32 -T fft -e -n
=================================================================
Module Info:

Short name: WAVE Player
Long name : Player for WAVE PCM file
Copyright : Copyright (c) 2009-10 PetrovSE
Version   : 1.0.4.1
Build     : Oct 16 2010, 14:09:35
=================================================================

Opening file "01_sound_sample2_24_96.wav" ...Ok.
 Samples rate    = 96000 Hz
 Channels        = 2
 Bits per sample = 24 (fixed)

Sample rate converter is activated.

   LFE   SL   L   C   R   SR
LFE    -----   -----   -----   -----   -----   -----
SL     -----   -----   -----   -----   -----   -----
L      -----   -----   1.000   -----   -----   -----
C      -----   -----   -----   -----   -----   -----
R      -----   -----   -----   -----   1.000   -----
SR     -----   -----   -----   -----   -----   -----

Windows : 8192 "Vorbis" -> 16384 "Vorbis"
Delay   : 43 ms
Sync.   : ON
Trans.  : "FFT"

Wave system [oss]: Open Sound System
Wave device []: "/dev/dsp" !

H/W parameters:
 Samples rate    = 192000 Hz
 Channels        = 2
 Bits per sample = 32 (fixed)

[-------#-------------------------------------------] [>>]  0:24 (32 ms)     
Done.                                                                   


"!" means that the "exclusive mode" is activated:

Code: Select all

Wave device []: "/dev/dsp" ! 


How to run pcm_play in the background

Code: Select all

$ nohup pcm_play [options] & rm -f nohup.out


Example:

Code: Select all

$ nohup ./pcm_play 2L38_01_DXD.wav -s oss -f 192000 -b 32 -T fft -e -n & rm -f nohup.out
[1] 25704
nohup: ignoring input and appending output to `nohup.out'


Code: Select all

$ ps aux | grep pcm_play
igor     25704  9.8  0.0  17088  5220 pts/3    Sl   22:04   0:04 ./pcm_play 2L38_01_DXD.wav -s oss -f 192000 -b 32 -T fft -e -n
$ pgrep pcm_play
25704
$ killall pcm_play
[1]+  Terminated              nohup ./pcm_play 2L38_01_DXD.wav -s oss -f 192000 -b 32 -T fft -e -n
$ killall pcm_play
pcm_play: no process found
Attachments
pcm_conv_i386_and_x86_64_fft_dct-v.1.0.4.0.tar.gz
(79.54 KiB) Downloaded 969 times
pcm_play_i386.tar.gz
(30.55 KiB) Downloaded 1009 times

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby ossuserr » Wed Jan 14, 2015 10:18 pm

Who keeps music in wavs now?...

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby igorzwx » Wed Jan 14, 2015 10:43 pm

ossuserr wrote:Who keeps music in wavs now?...


pcm_play has both FFT and DCT inside. You may try the both resamplers with different settings

Code: Select all

$ ./pcm_play -h
-T            Transform type: dct, fft (default: dct)
-W            Window type: vorbis, hanning (default: vorbis)

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby ossuserr » Wed Jan 14, 2015 11:08 pm

My OS is 64bit.

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby igorzwx » Wed Jan 14, 2015 11:24 pm

ossuserr wrote:My OS is 64bit.


The old pcm_conv is also 32bit

You may try to play Lindberg's DXD 24BIT 352.8kHz Waves with OSS4 and pcm_play (FFT or DCT) _http://www.opensound.com/forum/viewtopic.php?f=3&t=4423

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby ossuserr » Wed Jan 14, 2015 11:31 pm

Thanks, i will compare. I get "Cannot execute binary file" error. I am on OS with alsa now. Which libs do i miss?

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby igorzwx » Thu Jan 15, 2015 12:15 am

ossuserr wrote:Thanks, i will compare. I get "Cannot execute binary file" error. I am on OS with alsa now. Which libs do i miss?


ossuserr wrote:Which libs do I miss?


The command

Code: Select all

$ ldd ./pcm_play | grep not

may show which libraries are missing.

Code: Select all

$ ldd ./pcm_play
   linux-gate.so.1 =>  (0xb774f000)
   libasound.so.2 => /usr/lib/i386-linux-gnu/libasound.so.2 (0xb763b000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7552000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7525000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb7507000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb735c000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7341000)
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb733c000)
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb7332000)
   /lib/ld-linux.so.2 (0xb7750000)


See: _http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit

Try something like this: _http://www.debian-administration.org/article/534/Running_32-bit_Applications_on_64-bit_Debian_GNU/Linux

The Gentoo Linux 32bit chroot guide will help you setting up a true 32bit chroot for your Gentoo/AMD64 system.

As you know 64bit systems don't run 32bit applications natively yet (at least not with portage) so you need to use emulation libraries to make them working or create a true 32bit system inside a chroot to install and run native 32bit applications. For the most common uses you do not need do build a 32bit chroot system. However, if you want to run applications that don't have a binary available to run with 32bit libraries, you should use a 32bit chroot. This guide will teach you how to set up a 32bit chroot and how to install and run applications inside the chroot.
_https://www.gentoo.org/proj/en/base/amd64/howtos/chroot.xml



To run 32bit executable file in a 64 bit multi-arch Ubuntu system, you have to add i386 architecture and install libc6:i386, libncurses5:i386, libstdc++6:i386 these three library packages.

Code: Select all

sudo dpkg --add-architecture i386


Or if you are using Ubuntu v12.04 or below, use this:

Code: Select all

echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch


Then:

Code: Select all

sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

_http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit


Code: Select all

$ ./pcm_play *.wav -s alsa -f 48000 -b 16 -T fft -n
$ ./pcm_play *.wav -s alsa -f 192000 -b 32 -T fft -n

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby ossuserr » Fri Jan 16, 2015 7:06 pm

Comrade from alsa team kindly helped me to configure alsa driver for use with Petrov's resampler. The following asound.conf will be useful for owners of audigy2 zs platinum and audigy2 zs (and probably audigy2 platinum) cards.
The thing is that phone output on the external module of platinum series uses not 192\32 chip which is hw:0,4 alsa device but the low-quality 16\48 chip which is hw:0,0. That's why if you make 192\32 chip as defualt for your OS and your applications are set to use the default device, you will hear cracking or terrible noise from headphones pluged into the external module because Petrov's resampler will resample everything into 32\192 provided that you set 32\192 in asound.conf but the external module can deal only with 16\48. So the following config of asound.conf does the following: 1) It copies front channels to rear channels of the card 2) and allows you to plug your headphones into rear-out of the card instead of the external module.
Thus you enjoy 192\32 quality also from your headphones. Needless to say that your amplifiers on the external module must be set to 0. Evidently, you must use the card instead of the external module also for recording.
Code for audigy2 zs platinum owners who like good resamplers:

Code: Select all

# ALSA library configuration file managed by arateconf.
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.


#=====================================================
# Configuration for Audigy2
#-----------------------------------------------------

# Perform dmixer
pcm.dmixer
{
   type         dmix
   ipc_key         1024
   ipc_perm      0666

   hint
   {
      show      off
      description   "Direct mixing of multiple audio streams"
   }

   slave
   {
      pcm      "hw:Audigy2,4"

      rate      192000
      channels   4
      format      S32_LE

      period_size   7680
      buffer_size   30720
   }
}


# Perform dsnooper
pcm.dsnooper
{
   type         dsnoop
   ipc_key         1025
   ipc_perm      0666

   hint
   {
      show      off
      description   "Recording from the same device for several applications simultaneously"
   }

   slave
   {
      pcm      "hw:Audigy2,4"

      rate      192000
      format      S32_LE

      period_size   7680
      buffer_size   30720
   }
}

pcm.front2rear {
   type route
   slave.pcm "dmixer"
   ttable.0.0 1
   ttable.1.1 1
   ttable.0.2 1
   ttable.1.3 1
}


# Perform duplex
pcm.duplex
{
   type         asym
   playback.pcm      "front2rear"
   capture.pcm      "dsnooper"

   hint
   {
      show      off
      description   "Full duplex for simultaneous playback and recording"
   }
}


# Perform convert
pcm.convert
{
   type         rate
   converter      fftrate

   hint
   {
      show      off
      description   "Sample rate converter"
   }

   slave
   {
      pcm   "duplex"
      rate   192000
      format   S32_LE
   }
}


#=====================================================
# Configuration for default audio device
#-----------------------------------------------------

# Perform plug device
pcm.!default
{
   type         plug
   slave.pcm      "convert"
   hint.description   "Default device"
}

Backup your asound.conf before pasting the code. After pasting the above code into asound.conf and saving, you may check if front channels are cloned to rear-out by command:

Code: Select all

$ speaker-test -c2 -twav and by command speaker-test -c2 -twav -dDefault


Woman will speak both in speakers and headphones. Enjoy.

Beware that if you have a 5.1 song you may still want to have real rear in the rear output. For this plug out the phones out of rear-out, insert the cable of the rear speakers and return to your previous asound.conf file which you backed up or in the player set the playing device as hw:0,0 instead of Default without returning to the backuped asound.conf.

In spite of the jackd troll's claims who claimed that audigy2 zs does not support 96000 in jackd i managed to get 96000 hz in jackd with my card by setting interface to defaut, output to default and input to hw:0,4. Of course my asound.conf was set like above.
So if you are pressed for money audigy2 zs platinum now can be bought at a little money and give some production start. Keep in mind.
Last edited by ossuserr on Fri Jan 16, 2015 10:33 pm, edited 1 time in total.

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby igorzwx » Fri Jan 16, 2015 9:31 pm

Have you noticed a bug in DeadBeef?
It overloads CPU (99% CPU) with DXD waves.
It looks like this:

Code: Select all

$ top -H
  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
 7243 igor      20   0  287m  29m  12m R  98.5  0.4   0:13.18 deadbeef-stream


It can burn your processor!

It might be the same with ALSA.

It does not depend on Petrov's plugin.
The same 99% CPU for the native DeadBeef OSS plugin.

MPlayer has not such problems (5%CPU with DXD).

Code: Select all

$ mplayer *wav
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team

Playing 2L38_01_DXD.wav.
Cache fill:  0.00% (0 bytes)   

Detected file format: WAV format (libavformat)
[lavf] stream 0: audio (pcm_s24le), -aid 0
Load subtitles in .
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 352800 Hz, 2 ch, s24le, 16934.4 kbit/100.00% (ratio: 2116800->2116800)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [oss] 352800Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 304.7 (05:04.6) of 554.9 (09:14.8)  0.4% 49%


Petrov's pcm_play is also nice: 11%CPU with FFT and 7%CPU with DCT

Code: Select all

$ ./pcm_play *.wav -s oss -f 192000 -b 32 -T fft -e -n
$ ./pcm_play *.wav -s oss -f 192000 -b 32 -T dct -e -n


Code: Select all

$ mediainfo *.wav
General
Complete name                            : 2L38_01_DXD.wav
Format                                   : Wave
File size                                : 1.09 GiB
Duration                                 : 9mn 14s
Overall bit rate mode                    : Constant
Overall bit rate                         : 16.9 Mbps

Audio
ID                                       : 0
Format                                   : PCM
Format settings, Endianness              : Little
Codec ID                                 : 1
Duration                                 : 9mn 14s
Bit rate mode                            : Constant
Bit rate                                 : 16.9 Mbps
Channel(s)                               : 2 channels
Sampling rate                            : 352.8 KHz
Bit depth                                : 24 bits
Stream size                              : 1.09 GiB (100%)


It was downloded here:

HiRes Download - test bench
_http://www.2l.no/hires/index.html

To download audio files username: 2L and password: 2L is requested.

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby ossuserr » Fri Jan 16, 2015 10:25 pm

I did not monitor CPU load and can't say if i had 99% but i did not have any freezing or slowing of PC operation. But i did not play that 342 hz file.
But i can confirm that deadbeef is a deadly program. In the past i had an HDD crash because of it. I won't insist that it was caused by deadbeef. May only confirm that crash happened during playback with DB couple of years ago. After that i switched to gmusicbrowser. By the way you can directly set the device in gmusicbrowser in settings - alsa parameters and i hope to avoid any secret chains of distortion. Also i may confirm that you SHOULD NOT use jackd and deadbeef at the same time. I got the terrible sound from speakers which made my earphones burn when DB was run with jackd on OSS OS. Now i do not run them simultaneously. But i am on alsa now. Also as i noted previously deadbeef somehow changes systems' sampling rate that you have to make a kind of reset by running jackd with sampling rate that causes xruns.

The warning to NOT use jackd and DB simultanously may concern only applications set to use the device which does not do any resampling like hw0,4 in audigy2 zs. BEcause as i assume the application using this device kinds of LOCKS it for itself. The other program tries to lock too and NO MIXING IS GOING ON. Both applications turn the two audio fed signal into mess. That causes the unberable distortions which may break equipment or make you deaf.

By the way i do not use pcm_play. I am quite happy with alsa + Petrov's resampler pack for alsa. I put fft instead of dtc and sound is more or less usable, not irritating. And still the difference to OSS exists but on OSS i had to use hw:0,0 instead of hw:0,4. So direct comparing is not possible. FFT resampler adds emotions to music. How? I wonder. Maybe it adds the right harmonics.

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Re: Petrov's pcm_play [OSS4, ALSA] FFT and DCT

Postby igorzwx » Fri Jan 16, 2015 11:03 pm

ossuserr wrote:I did not monitor CPU load and can't say if i had 99% but i did not have any freezing or slowing of PC operation. But i did not play that 342 hz file.


It makes sense to monitor CPU on Linux.
Just run on terminal

Code: Select all

$ top -H


or simply

Code: Select all

$ top


If a program overloads processor, you should kill it, before your processor is overheated.
You may also want to monitor temperature of the CPU, etc.
_https://wiki.archlinux.org/index.php/Lm_sensors

I tend to believe that the problem is in DeadBeef itself, not in plugins.
If it is something similar with DXD and DeadBeef/ALSA, my hypothesis would be confirmed.

ossuserr wrote:FFT resampler adds emotions to music. How? I wonder. Maybe it adds the right harmonics.


You may try to study sonograms. The manual is here: _http://www.opensound.com/forum/viewtopic.php?f=3&t=4423

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: Petrov's pcm_play and pcm_conv FFT/DCT

Postby ossuserr » Sun Jan 18, 2015 12:50 am

I have a sensor plugin running on my task panel, so usually i can see when i have high load. But if the system is not freezing i do not look at that corner.

What's the point in fighting for quality if the quality starts from 1000 usd lynx2? Alsa is just fine for audigy2 zs and i am not that level of musician to spend thousands on euquipment which will never give money back... That's why people listen to mp3 in headphones for 1 dollar. Because it's the rulers who must think how to make people more clever, more subtle, etc. But they think on the contrary. All those sound factories must be sponsored by governments. But since science become closed society and free energy devices are forbidden this is not going to be done and people will continu listening to crap. This is the reality.

By the way the same thing happens to other equipment for entertainment... People don't want to pay much money for that shit. But the companies can't produce the cards of high quality for little price, otherwise everyone will buy such cards and won'r buy in the nearest years. But now most are also deaf and don't need any good soundcards. Also the music itself is rap crap, techno crap and other crap which does not require high-quality equipment.

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Re: Petrov's pcm_play and pcm_conv FFT/DCT

Postby igorzwx » Sun Jan 18, 2015 1:15 am

ossuserr wrote:now most are also deaf and don't need any good soundcards. Also the music itself is rap crap, techno crap and other crap which does not require high-quality equipment.


It seems that not everything is crap, and they are still many audiophiles.
For example, HiRes FLACs, DXD waves and DXD FLACs 352kHz/24bit for audiophiles can be downloaded on HDtracks _https://en.wikipedia.org/wiki/HDtracks
Prices might be affordable.

SOUVENIR Part I
Available in Audiophile 352kHz/24bit, 192kHz/24bit, 96kHz/24bit & 44.1kHz/16bit
Artist: TrondheimSolistene
Genre: Classical, 20th Century, Chamber Music, Romantic
Label: 2L (Lindberg Lyd)
Release Date: 2012


Free samples can be downloaded here: _http://www.2l.no/hires/index.html [username: 2L password: 2L]

There is also Binaural+

The Master
Available in Audiophile 192kHz/24bit, 96kHz/24bit & 44.1kHz/16bit
Title: The Master
Artist: Candido Camero
Genre: Latin, Jazz,
Binaural+
Label: Chesky Records
Release Date: 2014


The format 192kHz/24bit can be played on Intel HDA codecs without resampling, for example:

Code: Select all

$ deadbeef
selected output plugin: OSS output plugin with fftrate
oss: exclusive mode is activated!
Converter: fftrate (ver. 0.9)
Input  : 192000 Hz, 2 ch (0003), 24i bits
Output : 192000 Hz, 2 ch (0003), 32i bits
Params.: delay = 43 ms, sync: ON, transform: 'None' - 'Planar'
Matrix :
        FL      FR     
FL      1.000   -----   
FR      -----   1.000


You may find audiophiles on Head-Fi forum (Head-Fi → WIKI → New Member Guides).

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: Petrov's pcm_play and pcm_conv FFT/DCT

Postby ossuserr » Sun Jan 25, 2015 12:38 pm

What will be the benefit of using Realtek ALC889A codec vs audigy2 zs platinum with oss driver? Why does the OSS driver supports only 48000 on audigy2 zs and up to 192000 on integrated soundcards?

igorzwx
Known Member
Posts: 1246
Joined: Sun Jun 28, 2009 9:31 pm

Re: Petrov's pcm_play and pcm_conv FFT/DCT

Postby igorzwx » Sun Jan 25, 2015 5:17 pm

ossuserr wrote:What will be the benefit of using Realtek ALC889A codec vs audigy2 zs platinum with oss driver?


Are you going to use Realtek codecs for "music production"?


Return to “Linux”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests