Skip to content

Ar57m/random_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some random tools/code, with the goal of learning more coding.

convert_tensor.py

It should convert a pytorch tensor to a png image and it can retrieve the tensor back using the png image and the min and max value of the tensor. Some tensors might be retrieved badly because its limit is 24 bits (#ffffff).


array_to_midi.py

I used it to convert an array of prime numbers to midi, for better song I recommend using arrays that grows through time like prime numbers, otherwise It will sound not very good.


sine_compression.py

It's not very otimized and currently is converting to float64(which makes it not a compression), but it tries to fuse two arrays in one and retrieve an approximation of both, I used a very high frequency sine function on it.


Support me

If you find anything here useful consider helping a poor:

0x190ac445974a989a87dd223f212a76ca0090c804

About

Testing Random Things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages