DigitalCD 3.08 released
Pages: 1 2
Dave Lawton (309) 87 posts |
Hi Tennant, After that, there might be some extra configuration to do, in Mimemap, or !DCDRes.Setup, which is detailed in the ‘DigitalCD configuration of module useage’ section. HTH |
Tennant Stuart (2505) 122 posts |
Okay thanks, I’ve merged !System but none of the extra configuration stuff seems to have anything to do with the radio player. Meanwhile, the instructions continue…
..but its ReadMe file says nothing about how to install it. |
Ronald May (387) 407 posts |
which says nothing about installing the module Having installed all of the requirements for DCD on my PiZero today, I can tell you the !Playit application has been in my Boot:Resources directory on my Iyonix for a long time and is OK there on the Pi too. |
André Timmermans (100) 655 posts |
.bq which says nothing about installing the module You are correct, I digged up some old backups where there was both a 26-bit version and a 32-bit version and the ReadMe is only present in the 26-bit version. Newer versions were 26/32-bit compatible but did not included the ReadMe. As I cannot find the information in !PlayIt.Docs, I have added it to the Modules.zip archive. Here is its content: PlayIt users PlayIt is a common resource module which can be used by several applications PlayIt can either be ‘installed’ (ie dragged) into Boot:Resources where the Note that for RISC OS 4 adding an appliction to boot is simply done with Application authors Please load PlayIt with the Ensure program (see programmers’ guidelines in |
jim lesurf (2082) 1438 posts |
!SoundCheck only tells you the ‘system’ volume IIRC. I think with DCD you have the option to pass the audio via this or not. If people want I could add in to the probing a ‘module specific’ set of queries for PlayIt, DiscSample, etc. Beyond that, I’m not sure of the details of what you mean. So to go further you’d have to explain and maybe show the !SoundCheck report. BTW IIUC DCD Uses DiscSample to read a CD in the drive. |
Ronald May (387) 407 posts |
!SoundCheck only tells you the ‘system’ volume IIRC. I think with DCD you have the option to pass the audio via this or not. OK, I was trying to establish that the wav file was being sent untouched thats all. I have to assume 100% in DCD achieves this unless you or Andre can tell me different. Also I’m assuming that we are only sending 16bit even though DCD does indicate it is playing a 96k24bit file? |
jim lesurf (2082) 1438 posts |
In case it helps, you can try using http://jcgl.orpheusweb.co.uk/temp/PPMjcgl.zip I wrote this to provide Peak Programme Meter sidebars for DCD. I tend to run it with both the main players and the output monitor. This lets me see the actual outgoing levels as well as the source levels. So far as I know, DCD and its modules all go via SoundDMA which is still firmly limited to 16bit. I can play 24bit files, but I assume they are simply truncated. However I’ve not tested that as yet. It shows about a 40dB range and gives PPM action. i.e. it always peaks immediately to the largest sample and then decays slowly. It is a modified version of a standard plugin. Now I have output via HDMI then spdif I will check this at some point. But not had the round tuits as yet. |
Ronald May (387) 407 posts |
Thanks Jim, I’ve downloaded PPMjcgl.zip and will look at it later. I had a brief look at !PlayIt, you can set 0db with PlayIt_Volume 127 |
jim lesurf (2082) 1438 posts |
Things like that seem routine for devices like monitors or TVs. Bit like many of the ‘smart’ TV file players also being an inconsistent mess. Shovelwear. I started looking at DCD here because some people got clicks/gaps in playback when using it to play an Audio CD in the optical drive. Only to find I got no sound at all! This is on an ARMX6. DCD will list the tracks on the CD. And when I ‘play’ one the elapsed time runs, and the disc rotates, and I can see the access light keep flashing. But no sound. And the PPM shows no levels. IIUC DiscSample is being used to read the audio, but for some unknown reason, nothing gets though and DCD doesn’t notice. When I play flac or wave files, they sound fine, and I get PPM level indications. I can check if the sound gain is changing things by comparing the PPM levels on the main (file) player and the output monitor. The levels indicated are essentially linearly scaled in dB over about a 40 dB range. TBH THis doesn’t matter to me on an individual level as I wouldn’t choose to play a CD in this way myself. But I found the problem when I was trying to help people resolve their clicks/gaps problems. It then blocked my trying to help. |
André Timmermans (100) 655 posts |
Jim, I can only think of the following situations for the situation you describe: 1) You forgot to select “CD_ReadAudio” mode in the “Drivers → CDFS” configuration. But you previously said that you set it correctly. 2) You have multiple CD drives on your machines but the settings in that section are on a drive per drive basis (as they may be connected on different cards with differently bugged drivers) and you did not change the settings for the correct drive number. 3) If is none of the above, the fact that the elapsed time progresses indicate that no errors where reported to the CD_ReadAudio calls and DiskSample assumes that the buffers where filled in correctly. For the click/gaps problems, as DiskSample operates in the background (via callbacks), it may be caused by heavy activity (just like when decoding mp3 or flac files), so they may want to adjust the buffer sizes in “Drivers → DiskSamle”. |
jim lesurf (2082) 1438 posts |
re (1) Yes, I did this and checked it. re (2) No, there is only one optical drive on my ARMX6 re (3) Yes, it does seem that each stage in the process thinks it is working correctly. However no stage shows any sign of non-zero values being transferred when monitored. Beyond that I can’t check the clicks/gaps at all at present. But do wonder if a buffer size change might help my problem as well. Is there any advice on what settings to try? |
Ronald May (387) 407 posts |
A second look at this and the levels /are/ the same, It was just me using an album with a soft start for a few minutes. So all the ones and zeros are behaving OK afterall. I’d give Samsung some credit for being capable video players on the usb, though an earlier DVD model is restricted to DivX/xvid, The Blueray players are not bad with video formats.The dcd>hdmi>samsung seems louder than iyonix>usb>optical>samsung for some reason. This system has an 96K24bit ADC for doing the microphone input for speaker position delays, and I’m guessing it is used for the RCA analog inputs to convert to digital for the digital amp controller. The volume for the analog inputs was different, understandable when the Iyonix outputs standard 1 volt composite, but many operate up to 2 volts, so there is no standard now. The sound was pretty muddy, So it is a good comparison to where we once were. The Iyonix actually has an spdif pin, and the chip design should allow it to be running by default, there must be something in the Iyonix startup that disables it. I wonder if that part of the Castle source is available? |
jim lesurf (2082) 1438 posts |
The Iyoninx has a hardware limit built in so that the analogue output is always 48k rate regardless of the system or source rate. It just skips or repeats samples to force-fit. I don’t know if the digitial pin is the same. |
Malcolm Hussain-Gambles (1596) 811 posts |
I’ve not had any problems with playing CD’s on my MX6. Do you have !MusicMan? If you do, are the results the same. |
jim lesurf (2082) 1438 posts |
I’ve tried other programs that use the same CD_ReadAudio swi as DiskSample/DCD. They all work fine. I’ll check the other settings you mention for DCD/DiskSample. A problem with these is that there seems little in the way of info as to what settings may be required beyond being told what SWI to set. |
jim lesurf (2082) 1438 posts |
I’ve just tried settings like larger buffers, Free vol, and Enable interrupts. I still get ‘silent playing’ of a CD. Symptoms as before. The disc starts, the access light flashes, etc, etc. But no sound and the PPMs show no levels. |
Malcolm Hussain-Gambles (1596) 811 posts |
Very weird indeed! Sounds like some wrong coloured pixie dust being used somewhere, causing those naughty gremlins to get in! ;-) The next thing to “blame” I would guess is Disksample… |
André Timmermans (100) 655 posts |
On the Pi3 I have set DiskSample input buffer to 256K & output to 1024K, but the larger the longer it can support other activities preventing the filling/processing of its input.
This can be a source of gaps/pops if other interrupts occurs in the middle of the SoundDMA buffers and take too long to process. I added this option because on the slower RISC PCs leaving interrupts disabled for too long affected some internet stacks but on newer far faster machines I don’t think this will occur.
You might try to grab with !Zap the “DiskSample (Input …)” Dynamic Area. Its a circular buffer that starts with a header using the following words (4 bytes): buffer size, decoding position, filling position, finish flag, 12 reserved words. The data extracted from the CD follows this buffer. Grab the DA several times while playing and check if the decoding/filling positions and the data in the buffer changes. |
Pages: 1 2