|
Post by AnthroHeart on Apr 4, 2024 14:02:47 GMT
Yes. But when you read using --file, the speed beoomes very slow, indicating the full entirety of the file is working. I am using 1GB of RAM.
I loaded Return to Innocence Long and Alive version MP3 at 13,693,070 bytes.
Multiplier should be 1GB / 13,693,070 bytes = 73.03 approx.
When I run, the multiplier I get is Multiplier: 43.570k
Indicating it's repeating a smaller string than the size of the mp3 contents.
|
|
|
Post by AnthroHeart on Apr 4, 2024 14:12:57 GMT
If I change to allow for binary files like mp3s, then compression and hashing won't work on them, as I'm using pre-built libraries that use strings. So I probably won't be able to update to use binary files like mp3s.
Unless I can figure out how to use OpenSSL and Zlib to work with std::vector<unsigned char> variables.
|
|
|
Post by meteagle on Apr 4, 2024 14:41:43 GMT
Thank u for adding the option to load files into repeater . i had recorded some intentions into a mp3 file . this is the first time im loading the file itself into memory , instead of loading it's name . i feel the same intensity as before , but the fabric of it's energy is very different than before . its very very real . with last method i used to "see" the affirmations recorded in that file , but now i "live" them . it is far better I didn't yet make the Repeater MAX to load binary files like mp3s. It only works with text at the moment. It isn't yet optimized for Unicode either.
The issue I think is if I load it in binary mode, then unicode characters (which can be multiple bytes) might not be stored correctly. But if you're repeating the string of bytes, it might not matter they're not in UTF-8 encoding.
I don't want two separate MAX programs.
Are people needing to load mp3's into the Repeater MAX? If so, I can update it to read from binary files.
Repeating a binary file in memory won't be the same as playing an mp3. It would be seemingly random bytes, and I'm not sure if it would have the intended affect.
My current MAX program can use UTF-8 bytes, but not represented as actual characters like emojis or what, just a string of bytes.
So this is very interesting that it works for me . and works very great . not just with .mp3 s but also with .wav s
|
|
|
Post by reden on Apr 4, 2024 14:42:15 GMT
If I change to allow for binary files like mp3s, then compression and hashing won't work on them, as I'm using pre-built libraries that use strings. So I probably won't be able to update to use binary files like mp3s.
Unless I can figure out how to use OpenSSL and Zlib to work with std::vector<unsigned char> variables.
Look at this github.com/intel/zlib/blob/master/gzread.cIt could mean reading a gz involves unsigned chars.
|
|
|
Post by reden on Apr 4, 2024 14:43:54 GMT
Another option could be modifying the file to remove all NULs and if necessary, adding one at the end of the file, so that all of it is processed.
|
|
|
Post by meteagle on Apr 4, 2024 14:47:37 GMT
Yes. But when you read using --file, the speed beoomes very slow, indicating the full entirety of the file is working. It's true it also caught my eye . without loading .mp3 i got up to 35 Zhz but with loading files the speed scale was downgraded to PHz and EHz
|
|
|
Post by AnthroHeart on Apr 4, 2024 14:48:04 GMT
Another option could be modifying the file to remove all NULs and if necessary, adding one at the end of the file, so that all of it is processed. Yeah, that would be easier than trying to figure out different libraries.
I'll see if I can do that.
|
|
|
Post by reden on Apr 4, 2024 14:49:10 GMT
|
|
|
Post by reden on Apr 4, 2024 14:49:44 GMT
Yes. But when you read using --file, the speed beoomes very slow, indicating the full entirety of the file is working. It's true it also caught my eye . without loading .mp3 i got up to 35 Zhz but with loading files the speed scale was downgraded to PHz and EHz My phone becomes hundreds of GHz... lol What computer specs produce such speed?
|
|
|
Post by meteagle on Apr 4, 2024 14:58:28 GMT
It's true it also caught my eye . without loading .mp3 i got up to 35 Zhz but with loading files the speed scale was downgraded to PHz and EHz My phone becomes hundreds of GHz... lol What computer specs produce such speed? cpu 12700h ram 32 but i set 60 gb of ram in repeater . idk why it accepts it but it does work . it puts the load on cpu i guess
|
|
|
Post by nathanmyersc on Apr 4, 2024 15:05:32 GMT
My phone becomes hundreds of GHz... lol What computer specs produce such speed? cpu 12700h ram 32 but i set 60 gb of ram in repeater . idk why it accepts it but it does work . it puts the load on cpu i guess Computer uses pagefile which is hardrive it reserves for memory usage.
|
|
|
Post by reden on Apr 4, 2024 15:11:57 GMT
nonul_flight.webm has had tr < flight.webm -d '\000' > nonul_flight.webm (removed all NULs) and dd if=/dev/zero bs=1 count=1 >> nonul_flight.webm (added a final one), while 2nonul_flight.webm only the first command.
~/iptm $ ./a.out --imem 1 --compress y --hashing y --file nonul_flight.webm
Intention Repeater MAX v5.14 (c)2020-2024 by Anthro Teacher aka Thomas Sweet.
LOADING nonul_flight.webm INTO MEMORY Multiplier: 13 Hash Multiplier: 480.788k Compression: 343X [61.540MB -> 179.228kB] [00:00:01] (235.502B / 235.502GHz): Contents o [00:00:02] (471.068B / 235.565GHz): Contents o [00:00:03] (706.002B / 234.934GHz): Contents o (cut off because I zoomed out in my terminal, no issue)
~/iptm $ ./a.out --imem 1 --compress y --hashing y --file 2nonul_flight.webm
Intention Repeater MAX v5.14 (c)2020-2024 by Anthro Teacher aka Thomas Sweet.
LOADING 2nonul_flight.webm INTO MEMORY Multiplier: 70 Hash Multiplier: 2.439M Compression: 343X [312.282MB -> 908.916kB] [00:00:01] (568.866B / 568.866GHz): Contents o[00:00:02] (1.139T / 571.086GHz): Contents of:[00:00:03] (1.630T / 490.136GHz): Contents of:^C ~/iptm $ ./a.out --imem 1 --compress y --hashing y --file 2nonul_flight.webm
Intention Repeater MAX v5.14 (c)2020-2024 by Anthro Teacher aka Thomas Sweet.
LOADING 2nonul_flight.webm INTO MEMORY Multiplier: 203 Hash Multiplier: 7.032M Compression: 343X [900.152MB -> 2.619MB] [00:00:01] (1.124T / 1.124THz): Contents of: 2[00:00:02] (2.276T / 1.152THz): Contents of: 2[00:00:03] (3.429T / 1.152THz): Contents of: 2[00:00:04] (4.588T / 1.159THz): Contents of: 2[00:00:05] (5.677T / 1.089THz): Contents of: 2[00:00:06] (6.833T / 1.156THz): Contents of: 2[00:00:07] (7.938T / 1.104THz): Contents of: 2[00:00:08] (9.110T / 1.172THz): Contents of: 2[00:00:09] (10.281T / 1.170THz): Contents of: [00:00:10] (11.394T / 1.113THz): Contents of: [00:00:11] (12.541T / 1.146THz): Contents of: [00:00:12] (13.633T / 1.092THz): Contents of: ^Conul_flight.webm
~/iptm $ ./a.out --imem 1 --compress y --hashing y --file nonul_flight.webm
Intention Repeater MAX v5.14 (c)2020-2024 by Anthro Teacher aka Thomas Sweet.
LOADING nonul_flight.webm INTO MEMORY Multiplier: 243 Hash Multiplier: 8.388M Compression: 343X [1.073GB -> 3.124MB] [00:00:01] (1.327T / 1.327THz): Contents of: n[00:00:02] (2.660T / 1.333THz): Contents of: n[00:00:03] (3.999T / 1.339THz): Contents of: n[00:00:04] (5.381T / 1.382THz): Contents of: n[00:00:05] (6.739T / 1.357THz): Contents of: n[00:00:06] (8.059T / 1.320THz): Contents of: n[00:00:07] (9.417T / 1.357THz): Contents of: n[00:00:08] (10.748T / 1.331THz): Contents of: ^Cnul_flight.webm
~/iptm $ ./a.out --imem 1 --compress y --hashing y --file nonul_flight.webm
Intention Repeater MAX v5.14 (c)2020-2024 by Anthro Teacher aka Thomas Sweet.
LOADING nonul_flight.webm INTO MEMORY Multiplier: 147 Hash Multiplier: 5.091M Compression: 343X [651.770MB -> 1.896MB] ^C0:00:03] (2.481T / 831.602GHz): Contents of: nonul_flight.webm
Notice how each run had a different multiplier
|
|
|
Post by AnthroHeart on Apr 4, 2024 15:15:14 GMT
Another option could be modifying the file to remove all NULs and if necessary, adding one at the end of the file, so that all of it is processed. Ok, I updated to Repeater MAX v5.16, to remove NULLs from the string and allow for using a whole MP3 or other binary file. Now, the multiplier for my mp3 is 40 instead of 40k, indicating it's using the file right.
I updated zlib.h to a later version as well if you want the code.
I'm glad the hashing and compressing work with the mp3 data.
|
|
|
Post by meteagle on Apr 4, 2024 15:19:24 GMT
Another option could be modifying the file to remove all NULs and if necessary, adding one at the end of the file, so that all of it is processed. Ok, I updated to Repeater MAX v5.16, to remove NULLs from the string and allow for using a whole MP3 or other binary file. Now, the multiplier for my mp3 is 40 instead of 40k, indicating it's using the file right.
Thanks alot im goin to test it
|
|
|
Post by AnthroHeart on Apr 4, 2024 15:26:52 GMT
Ok, I updated to Repeater MAX v5.16, to remove NULLs from the string and allow for using a whole MP3 or other binary file. Now, the multiplier for my mp3 is 40 instead of 40k, indicating it's using the file right.
Thanks alot im goin to test it Cool, let me know if you notice a difference between the old version 5.15 and new one 5.16 with your mp3s.
|
|