SharedSound Module 1.11
Colin Ferris (399) 1818 posts |
When a sample was playing in !MP3Radio (which also plays MP3 files) Had the above code run in a repeat – until false loop – running in task window. Thus obtaining the results out of R3 – which looks like the sample rate. Re-doing the above with a voice MP3 – the sample rate was lower (R3= 32768000). If running the code without a MP3 playing – you will get an error msg. |
jim lesurf (2082) 1438 posts |
I doubt it is the file sample rate. For most mp3 files I’d expect that to be 44100. Even if the value is being returned in 1024ths it should be 45158400. That said, the value you quote is 32000*1024. What is your system sample rate? (And what hardware?) This makes me think I need to get a copy of SharedSound 1.12 because this ‘bug’ may have been fixed. I’m using 1.11 as I am still using RO5.19 (ARMiniX). What do you get from !SoundCheck? You can get a copy from http://www.audiomisc.co.uk/software/index.html (down near the bottom of the page for the link). Jim |
Colin Ferris (399) 1818 posts |
SA RPC RO 5.21 Handler number = 1 Music Swi number = 308290 Handler number = 1 |
jim lesurf (2082) 1438 posts |
Thanks Colin, From that it looks like a RPC running RO5.21 gives the correct results OK. Your “BBC speech” seems to be at 32k sample rate, but the “Music” seems to be at 44.1k. Which I think will be as they should be for the source. Are they files or streams? The values returned at present need to be divided by 1024 as that is the standard for many of the sound swis, etc. I haven’t included the /1024 yet because I always get ‘0’ returned so not much point. :-) Can you please confirm you have SharedSound 1.12? If so, may well be that there is a bug in SharedSound 1.11 which is now fixed OK. I’ll see if I can find a copy of SS 1.12 to try softloading it here. And I’ll add the factor of 1/1024 to !SoundCheck. I’m about to add/tweak some other things and release a newer version anyway. Thanks, Jim |
jim lesurf (2082) 1438 posts |
Update: I now have a copy of SharedSound 1.12 to experiment with. It returns the sample rate correctly. So this seems to have been a bug in 1.11 (at least on ARMiniX) that has been fixed for 1.12. I’ve done an updated version of !SoundCheck and will put it up on my website once I’ve had a chance to sort out a few things. [Currently distracted by minor issues like water flowing from the ceiling light in the dining room onto the table. Have had an old leaking tank removed. In a future life I hope to see a new one installed as its replacment and even have a dry loft, etc, again! :-/ ] Jim |
Trevor Johnson (329) 1645 posts |
Good news (distractions excepted)! |
jim lesurf (2082) 1438 posts |
Yes. :-) On the ‘water’ side we’ve now had a new tank fitted and are spending a few days trying to dry out the house! …and hoping for no nasty surprises with more water problems. On the RO I’ll get on with putting up a new !SoundCheck. Then proceed to write a column article for ‘Hi Fi News’ mag that looks at RO and its new hardware as a platform for decent audio. Useful in this context to be able to quote that it now has 96k/24bit hardware even if we can’t yet fully use it! Should be a chance to get RO in front of a new audience of some thousands of people. Some of whom may become interested. Jim |
Trevor Johnson (329) 1645 posts |
Great :-) Please keep us posted which issue it’s printed in – I may buy a back issue copy. |