Here's another poem I wrote on my mission:
Reflection on Eternal Progression
Have I today, lived to my Best--
Done what I can, to pass this Test?
Have I been Kind and Brave and Strong,
And given service, all day long?
Have I preserved-- pure Hands, pure Heart,
Done what it takes to stand Apart?
And with a laugh and then a smile,
Done what I Should, my extra mile?
Can I say now I'm Good in deed,
and then in word wish all Godspeed?
Have I stood firm in what means most--
The Father, Son, and Holy Ghost?
If I should fail these Three I know,
My life falls cold as drifted Snow,
No more to find that Golden Rest,
No hearth nor home to ease my test.
Yet if away I flee or fly,
There still is Hope before I die--
If home I turn on bended knee,
If Him I give Humility,
I'll find again that blissful Peace,
My doubts and fears and cares Release,
No more to spend my life in sin,
But Home to dwell, in Love, again.
Sunday, November 3, 2013
Monday, April 8, 2013
Hey, I have a new blog, especially for tech stuff like projects programming and cool stuff I find about technology.
You can find it here.
You can find it here.
Friday, April 5, 2013
Here's a poem I wrote on my mission:
Heart of Man
Take a man, and take his Sight--
Give him darkness for the light.
Take that man and take his Ears,
And music will not soothe his tears.
Take his Tongue, he will not shout,
Or take his Mind, no more he'll doubt.
But try to take th'Eternal Soul--
No bullet there can make a hole.
No sword can rend, no lion tear,
Nor chains can hold what we find there.
Though Tyrants rage and words decry
Man's own Heart, it shall not die.
Though body age, give up the Ghost--
Fly away-- to Heavn'ly Host.
His actions there shall be his Guide--
Fire and Flame-- or Jesus' side.
None else can damn th'Immortal Soul
He alone shall choose his Goal:
A Broken Law or Law be Kept,
Show if he'll have Laughed-- or Wept.
God's Great Gift of Agency--
As so we lived, again to Be.
Here we find this Liberty,
Through Jesus' Blood we can be Free.
Satan's chains no more might hold,
We no more may feel the Cold.
We're freed from these, Hell and Death.
Through Love, That change to our last Breath.
Do all we can, God does the rest,
If sweat be found upon our Breast,
We'll find--
Rest.
Heart of Man
Take a man, and take his Sight--
Give him darkness for the light.
Take that man and take his Ears,
And music will not soothe his tears.
Take his Tongue, he will not shout,
Or take his Mind, no more he'll doubt.
But try to take th'Eternal Soul--
No bullet there can make a hole.
No sword can rend, no lion tear,
Nor chains can hold what we find there.
Though Tyrants rage and words decry
Man's own Heart, it shall not die.
Though body age, give up the Ghost--
Fly away-- to Heavn'ly Host.
His actions there shall be his Guide--
Fire and Flame-- or Jesus' side.
None else can damn th'Immortal Soul
He alone shall choose his Goal:
A Broken Law or Law be Kept,
Show if he'll have Laughed-- or Wept.
God's Great Gift of Agency--
As so we lived, again to Be.
Here we find this Liberty,
Through Jesus' Blood we can be Free.
Satan's chains no more might hold,
We no more may feel the Cold.
We're freed from these, Hell and Death.
Through Love, That change to our last Breath.
Do all we can, God does the rest,
If sweat be found upon our Breast,
We'll find--
Rest.
Error: unknown format: 85
So for the past little bit I've been trying to figure out how to work with wave files in python. It was going well until I ran into this little error:
>>> import wave
>>> f = wave.open("C:\\Users\\Clint\\Test\\elvis_return_x.wav", "rb")
Traceback (most recent call last):
File "", line 1, in
f = wave.open("C:\\Users\\Clint\\Test\\elvis_return_x.wav", "rb")
File "C:\Python27\lib\wave.py", line 498, in open
return Wave_read(f)
File "C:\Python27\lib\wave.py", line 163, in __init__
self.initfp(f)
File "C:\Python27\lib\wave.py", line 143, in initfp
self._read_fmt_chunk(chunk)
File "C:\Python27\lib\wave.py", line 269, in _read_fmt_chunk
raise Error, 'unknown format: %r' % (wFormatTag,)
Error: unknown format: 85
As it turns out this little bug is cause by the fact that the builtin "wave.py" module in python does not support any type of compression aside from "None." (Compression format code "00" for anybody who's interested.)
At the python documentation I found a certain part that actually says this:
http://docs.python.org/2/library/wave.html
"Wave_read.getcomptype()
Returns compression type ('NONE' is the only supported type)."
So how do you change the compression format of a .wav file?
What I did was open the file in Audacity, and the export it as a .wav with a different name (and with the default "None" compression in Audacity), and voila, with the new file, wave.py works.
I did not find much info online about this particular error, so I have decided to post this so that it can be found, and help somebody.
Other useful sites I found about this topic are:
http://www.sonicspot.com/guide/wavefiles.html
http://en.wikipedia.org/wiki/WAV
http://en.wikipedia.org/wiki/Resource_Interchange_File_Format
>>> import wave
>>> f = wave.open("C:\\Users\\Clint\\Test\\elvis_return_x.wav", "rb")
Traceback (most recent call last):
File "", line 1, in
f = wave.open("C:\\Users\\Clint\\Test\\elvis_return_x.wav", "rb")
File "C:\Python27\lib\wave.py", line 498, in open
return Wave_read(f)
File "C:\Python27\lib\wave.py", line 163, in __init__
self.initfp(f)
File "C:\Python27\lib\wave.py", line 143, in initfp
self._read_fmt_chunk(chunk)
File "C:\Python27\lib\wave.py", line 269, in _read_fmt_chunk
raise Error, 'unknown format: %r' % (wFormatTag,)
Error: unknown format: 85
At the python documentation I found a certain part that actually says this:
http://docs.python.org/2/library/wave.html
"Wave_read.getcomptype()
Returns compression type ('NONE' is the only supported type)."
So how do you change the compression format of a .wav file?
What I did was open the file in Audacity, and the export it as a .wav with a different name (and with the default "None" compression in Audacity), and voila, with the new file, wave.py works.
I did not find much info online about this particular error, so I have decided to post this so that it can be found, and help somebody.
Other useful sites I found about this topic are:
http://www.sonicspot.com/guide/wavefiles.html
http://en.wikipedia.org/wiki/WAV
http://en.wikipedia.org/wiki/Resource_Interchange_File_Format
Subscribe to:
Posts (Atom)
