Ok, thanks. I'll do this evening when back home from work
the player can't be assembled with Glass (after removing the macros I've obtained an "out of range" error
Hey thegeps, I have removed the range check from Glass after the 0.5 release, so I recommend to use the development version of Glass to get rid of that error.
Thanks Grauw. I remember that I had the same problem when coding Freedom Fighter and then that time I've downloaded a newer Glass version to get rid of the problem. It seemed me strange that it has happened again. How I may know the Glass version? (Anyway I'll download this new version as soon as I will be at home)
Unfortunately I don’t track versions for development builds, however the removal of this out of range error was already done in 2018. Maybe you downloaded the 0.5 release version instead of the development version. I should really make a proper 0.6 release, there have been only a few user-facing changes but some of them (like this one) are important to just get out there properly.
Hello ,
I did learn a bit off C and could find the source off my problem
I dont know yet if it FULLY works but after all the changes where adding
#include "stdint.h" //https://stackoverflow.com/questions/40663918/uint32-t-does-not-name-a-type #include "cstdint"
BTW how can i switch off html tags? '<'
to the files
pcmenc.pcc, resample.c st.h
AND i added '-m32' to the compile line
https://www.geeksforgeeks.org/compile-32-bit-program-64-bit-...
g++ -m32 pcmenc.cpp resample.c -o pcmenc -O2 -Wall
the first result after compiling is
./pcmenc -cpuf 3546900 -p 0 -dt1 97 -dt2 97 -dt3 175 -a 115 -rto 1 -c 2 -i 2 54321_8.wav
Encoding PSG samples at 9612Hz Resampling input wave from 44100Hz to 9612Hz Viterbi SNR optimization: 1 input samples per PSG tripplet output dt1 = 97 (Normalized: 0.263) dt2 = 97 (Normalized: 0.263) dt3 = 175 (Normalized: 0.474) Resampling using Lagrange interpolation on 11 points Using cost function: L2 Processing 100.00% The cost metric in Viterbi is about 3.044 SNR is about 21.19 Encoding samples for original player
Now i can try the proposed changes for the minimum length!!
i hope i am through now!
:hannibal:
Hello,
Is someone was able to compile the encoder on MacOS ?
It compile (with warning), the program seems to work, but it refuse any .WAV file I want to encode. While the same files works on windows pcmenc version.
Any help, or binary share welcome