Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Remy

Pages: [1] 2 3 ... 35
1
Multimedia / Re: playing/convert AIFF and AIFC files: interest anyone ?
« on: November 10, 2022, 07:19:17 pm »
The reason I was developing an IOProc is so that you can just double click a sound file to have it play (you do not need an application). Plus, if translation works both ways, you can convert to/from AIFF and AIFC respectively.

I would not know why AIFF would sound any better compared to WAV, provided the very same sample rate and bit depth is chosen (and the very same analog sound source material, of course). The data is exactly the same in both cases (it's plain PCM data). WAV saves it as little endian, AIFF saves it as big endian.

Been able to play AIFF under OS/2 is helpfull to check audio files quality and of course play audio under OS/2.
With USB audio, it may be nice to play audio files out of usb to a dac

e.g. ffprob of a wav track I just converted to AIFF including metadatas and front cover
        If this could be helpfull !

          Metadata:
    genre           : Chanson
    album           : Le bal des oiseaux
    artist          : Thomas Fersen
    title           : Juillet
    track           : 3
    date            : 1993
    encoder         : Lavf58.29.100
  Duration: 00:03:04.80, start: 0.000000, bitrate: 4625 kb/s
    Stream #0:0: Audio: pcm_s24be, 96000 Hz, 2 channels, s32 (24 bit), 4608 kb/s

    Stream #0:1: Video: png, rgb24(pc), 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k
tbn, 90k tbc (attached pic)
    Metadata:
      title           : Album cover
      comment         : Cover (front)
 


2
Multimedia / Re: playing/convert AIFF and AIFC files: interest anyone ?
« on: November 10, 2022, 04:07:50 pm »
Hi,

AIFF and AIFC are sound formats that were invented by Apple (I think) for the original MAC and the Apple IIe in 1989 or so.
They resemble WAV files but all meta/header info and data is saved in big endian format (because the Motorola CPU used back at the time was a big endian CPU).

Because I was bored, I am currently working on an IOProc to transform these files into the standard WAV format that MMPM understands. Currently I can read (play) AIFF files in 8-bit,16-bit,24-bit and 32-bit sample size (the data as such is plain PCM data, that is: uncompressed) and uncompressed AIFC files in 8-bit,16-bit,24-bit and 32-bit sample size. I plan to add support for A-law and Mu-law for AIFC.

In theory, OS/2 should already support AIFF, but the IOProc (aiffproc.dll) is broken in that it only endian converts the meta/header data but forgets to endian convert the sound data ...

Is there any interest in this ? Is there also an interest to transform WAV files to the AIFF and/or AIFC formats ?

Cheers,
Lars

Hi Lars,

Into my local avxcat beta, I added AIFF since several months yet and the result is very good.
The big advantage of AIFF is that it allow metadatas as well included albumart
(WAV could have them too but not all players are able to extract wav metadatas and/or embebbed front cover)

I put my AIFF as well WAV and FLAC on my high-end streamer/server connected to a high-end DAC.
Aiff provides a better sound than WAV or FLAC while all are losness ! surprising
Logically AIFF and WAV should be same due AIFF is the Aplle format for WAV but out of the High end speakers, AIFF is a litle above (may be due streamer/server integreated converter or less jitter ! I don't know yet)

AIFF is my prefered despite I have no apple system.
WAV and FLAC are providing nearly the same result.

Regards
Rémy

note: I never go above 24bits resolutions (it improves signal on noise ratio)         
          ffmpeg handle it well. (Didn't find any interest to push up to 32bits) 

3
Multimedia / Re: Updated Uniaud32 build
« on: November 09, 2022, 03:27:24 pm »
Hi Mark!

That weather sounds hideous! We've just had our first tast of summer, with a couple of days above 30C - it's been glorious!

Sorry about the issues with Trac - I've now created a Uniaud32 project at my own bug tracker - https://mantis.smedley.id.au - please raise issues there.

Cheers,

Paul

Thats normal January weather here, Paul ........... only this is beginning of November  ???

Thanks for the link between being out for supplies, lunch and more shovelling, no time today - will have a look tomorrow and Best!

M

Out of topic: link to extreme weather https://electroverse.co/

4
Multimedia / Re: Rebuilds of MM Audio Pack
« on: November 03, 2022, 11:15:56 pm »
Hey Dave,

Does the audio pack support AIFF?

Is there an open source library that supports AIFF?

Cheers,

Paul.

You can use same as for WAV
It is PCM.

5
Programming / Re: RUX function failure - but on multiple tries only...
« on: October 05, 2022, 01:58:41 pm »
I think that is not how it is meant to be used. "rxuinit" is a registration-only function and will register all the functions at once. There is no point in checking if each individual function is loaded and call "rxuinit" over and over again.

At least that has been true for all other general load functions (of other REXX DLLs).

So it is either:

rc = rxfuncadd('rxuinit','RXU','rxuinit')
rc = rxuinit()


or:

rc = rxfuncadd('RxStartSession','RXU','RxStartSession')
rc = rxfuncadd('secondFunction,'RXU','secondFunction')
rc = rxfuncadd('thirdFunction','RXU','thirdFunction')
rc = ...

This it is.
Fine detailed

6
Programming / Re: RUX function failure - but on multiple tries only...
« on: October 04, 2022, 11:49:04 am »
Hi Remy,

If you would like be sure that all RXU functions you are going to call are loaded, you can check each of them at init and if some are missing, load them then instead of just testing 'rxuinit'

...so do you mean for example, instead of calling this RXU.DLL entry-point:

Code: [Select]
...
CALL RxFuncAdd 'rxuinit','RXU','rxuinit'
CALL rxuinit
...

call the RxFuncAdd with a specific function from that REXX DLL that I want to use, such as:

Code: [Select]
CALL RxFuncAdd 'RxStartSession','RXU','RxStartSession'
CALL rxuinit

The way I'm loading the DLL is as per the instructions in the DLL INF flie:

Quote
How to register the functions:

In order to use the functions, you have to register them with Rexx like this:

  call rxfuncadd 'rxuinit','rxu','rxuinit'
  call rxuinit
...

For what it's worth, here is the matrix I put together to document the various Load/un-load APIs for specific REXX DLLs:

Code: [Select]
LIBRARY NAME DLL LOAD UNLOAD VERSION API NOTES
=============== =============== =============== =============== =============== ===================================================================

RXU RXU RxuInit RxuTerm RxQuery Version API returns a whole bunch of stuff, need to parse first

REXXUTIL REXXUTIL SysLoadFuncs SysDropFuncs SysUtilVersion

RXUTILEX RXUTILEX Sys2LoadFuncs Sys2DropFuncs Sys2Version

RXEXTRAS RXEXTRAS RxExtra(LOAD) RxExtra(DROP) RxExtra(LOAD)

RXLVM RXLVM RxLvmLoadFuncs RxLvmDropFuncs RxLvmVersion Load and Unload seems to have an issue, fails on repeated attempts

I would suggest you to check on your needed functions, something like:
e.g.
rxu_api = RxFuncQuery('rxunit')
IF rxu_api <> 0 THEN DO
         CALL RxFuncAdd 'rxuinit','RXU','rxuinit'
         CALL rxuinit
         msg_text="RXU: loaded into memory, RC="||rxu_api
         END
Else do
        rxu_functions = RxFuncQuery('RxStartSession')
        IF rxu_functions <> 0 THEN DO
                   CALL RxFuncAdd 'RxStartSession','RXU','RxStartSession'
                   CALL rxuinit
                   END
        /* Other used functions check routines */
End

Regards

7
Programming / Re: RUX function failure - but on multiple tries only...
« on: September 29, 2022, 11:12:45 pm »
Umm...I'm scratching my head here because I wrote this script a couple of years ago and it has been rock-solid.

The purpose is to check the connectivity between my box and the NAS, which sometimes just flat-out "goes away". Re-starting the NetDrive control fixes it.

Alright, so here is what I call:

Code: [Select]
...
/* check ifthe RXU - RXU.DLL - is required */
   IF rxu_api_required = 1 THEN DO
      /* check if the DLL is already loaded */
      rxu_api = RxFuncQuery('rxuinit')
      msg_text="RXU: already in memory, RC="||rxu_api
      IF rxu_api <> 0 THEN DO
         CALL RxFuncAdd 'rxuinit','RXU','rxuinit'
         CALL rxuinit
         msg_text="RXU: loaded into memory, RC="||rxu_api
         END
      CALL debug debug_flag calling_code msg_level msg_text
     
      /* RXU version API returns a WHOLE bunch of stuff, so parse it first */
      rxu_api_info=rxuquery()
      msg_text=substr(rxu_api_info,pos(',',rxu_api_info,1)+2,pos(',',rxu_api_info,1))
      msg_text="RXU: Using version "||msg_text
      CALL debug debug_flag calling_code msg_level msg_text
      END
...

This normally gives me the following output:

Quote
DEBUG : MAIN => Initializing...
DEBUG :    ==> library_load => Initializing...
DEBUG :    ==> library_load => RXU: loaded into memory, RC=1
DEBUG :    ==> library_load => RXU: Using version v1.a
DEBUG :    ==> library_load => RXUTILEX: loaded into memory, RC=1
DEBUG :    ==> library_load => RXUTILEX: Using version 0.1.6
DEBUG :    ==> library_load => Exiting...
DEBUG : MAIN =>

During the first run I'm all good, no problems.

However, re-runing the 2nd time and aftewards causes this CLI error msg to be produced:

Quote
   282 +++         rxu_api_info = rxuquery();
REX0043: Error 43 running G:\UTIL\MISC\nas_check.cmd, line 282: Routine not
found

...and produces the following matching LOG:

Quote
DEBUG : MAIN => Initializing...
DEBUG :    ==> library_load => Initializing...
DEBUG :    ==> library_load => RXU: already in memory, RC=0
   282 +++         rxu_api_info = rxuquery();
REX0043: Error 43 running G:\UTIL\MISC\nas_check.cmd, line 282: Routine not
found
    76 +++   Call library_load;

The weird part is that this seems to have literally just started on Sep-26th...prior to that I never saw any such failures...ugghhh???

Is there anything obviously wrong that i'm doing here?

BTW - in my code I check to see if I need a particular REXX DLL, if YES, I load it and then un-load it when my script has completed running.

If you would like be sure that all RXU functions you are going to call are loaded, you can check each of them at init and if some are missing, load them then instead of just testing 'rxuinit'

8
Applications / Re: CUA Draw and CUAPaint
« on: September 19, 2022, 05:54:00 pm »
They work well under ArcaOS.

9
Storage / Re: DISKIO - updated version in need of TEST
« on: August 15, 2022, 08:53:45 pm »
Does it have a sense to do diskbench on SSD with not aligned partition ?

10
Ising latest Thunderbird build.

Gmail imap only:
- Trying to change from normal password to OAuth under one gmail account, it will not work.
- Trying to add a new gmail account with OAuth, it opens a google logon screen, I could login but then, thunderbird is in a loop
  and it never creates the new gmail account  (it looks like it is hanging due to a gmail account already exist !)
...

? strange...

11
Applications / Re: AVxCAT (v2 into test)
« on: May 30, 2022, 06:41:11 pm »
New update available (get update)

- several corrected bugs
- enabled video concat with/without gap files
- more...

Added a > in front of latest main changes in the text file included in the zip file.

* One main process was re-written to easier update/upgrade my code and a few optimized codes)

12
Applications / Re: Test build of dooble with qt5
« on: May 18, 2022, 12:54:59 pm »
I would track a shipping number and got a message about javascript and meta-refresh not supported etc....
After using home page and then trying again the link, it works....

It seems javascript or other supported code issues exist under Dooble
Link I tried (stop/start dooble and then try the link from link field)
https://elogistics.dachser.com/shpdl/ShpDirectlinkPage?16&l=fr_FR&c=18&n=00000000000000
   
Rem: tracking number set to 0 for the test.

13
Applications / Re: Test build of dooble with qt5
« on: May 18, 2022, 09:51:45 am »
Hi,

I defined  https://duckduckgo.com/  as my home page
After system reboot and starting Dooble, its look loading the page but nothing is displaied (blank page)
I load an other web page and then back to duckduckgo home page and this time, it display the page as it should !
Tried several times (closed/started dooble) and same issue each time !

What could be the culprit ?
Thx

14
Applications / Re: Test build of dooble with qt5
« on: May 17, 2022, 10:03:51 pm »
Hi Remy,

 Well, at least it works now! Not sure why, but if you uninstalled, then re-installed QT5, I can only guess that there may have been corruption in some configuration file somewhere from the first install. Enjoy!

Regards,

Hi David,

I uninstalled, then re-installed QT5 to try to create again the problem again.
No need to uninstall / install QT5 to have it working, As I wrote, Since I could bypass the crash removing the php rssfeed part of the web page, and then only load this php code alone resolved the problem and since this time, I'm able to load the full page !!
This is why I'm searching what could be saved and where to no more go into the bug...
Having an unresolved issue is not good and may happen again or produce other type or issue in the futur...

15
Applications / Re: Test build of dooble with qt5
« on: May 16, 2022, 09:44:23 pm »
I uninstalled / installed QT5w* as well dooble with .dooble delete to have initial state ....
And since I could bypass the close/crash state (removing a remote rssfeed load from main home page and loading this feed as a single page), I'm no more able to reproduce it !
Surprizing. what could have changed since I did the "bypass" action ? Is anything stored and where ?  :-\ ::)

Pages: [1] 2 3 ... 35