hi ;)
got popos installed on my raspberry pi4 and it is currently running python
3.9.7
i get this error when running my script:
'array.array' object has no attribute 'tostring'
this bug seems to be pretty old .. how long should i be waiting to get it
fixed with apt upgrade?
or should i use
New submission from kg*2:
Windows has integrated onedrive into their os. A feature of onedrive is
allowing users to browse files that aren't downloaded onto their computer.
os.listdir will return the items, but when they are opened for read/writing it
throws IOError[22]: invalid mode or file
. where's that help(ao)?
On Fri, Mar 5, 2010 at 3:43 AM, Anssi Saari a...@sci.fi wrote:
'2+ electriclighthe...@gmail.com writes:
dev = ao.AudioDevice('alsa')
dev.play(x)
could launch me a semi realtime dj kinda sys
luckily .. it does seem to be making the right sound
but why?
the default
o .. but u can use ur own tits.wav
if it is 44100 mono 16bit
and picklin n uploading the tofu
n having lots of those on the net
2 increase vegetrians is what soy.py wanted to mean
On Fri, Mar 5, 2010 at 9:48 AM, '2+ electriclighthe...@gmail.com wrote:
omg! u r actually testin my dirty code
')
dev.play(x)
could launch me a semi realtime dj kinda sys
luckily .. it does seem to be making the right sound
but why?
the default of the samplerate and that 16bit happened to match with my thing x?
o but if i do
dev.play(x, len(x))
it only plays the half of the pattern
and
dev.play(x, 2 * len(x
did this for hascillator01 that i ghc-ed from hascillator01.hs into ./
import popen2
wave = []
for frame in range(890, 1010):
wave.append(int(popen2.Popen3('./hascillator01 ' +
str(frame)).fromchild.readline()))
print wave
hascillator01 takes int and returns another int
so yes this became a
oops the code was wrong .. sorry
import popen2
wave = []
for frame in range(890, 1010):
wave.append(int(popen2.Popen3('./hascillator01 ' +
str(frame)).fromchild.readline()))
print wave
On Fri, Feb 26, 2010 at 1:22 AM, '2+ electriclighthe...@gmail.com wrote:
did this for hascillator01
...
Math Notations, Computer Languages, and the Form in Formalism. 2 new
of 2 ...groups.google.fm/group/sci.math/topics?gvc=2hl=en
Discussions - sci.math | Google GroupsBy Musatov - 6:27pm - 5 new of 5
messages ... Math Notations, Computer Languages, and the Form in
Formalism ... Languages
standard. snip
Python is still on my to do list, but I know I'll be interested in
the following:
1) Do you want to use character strings of arbitrary length?
Yes
2) Do you want to use Python classes with list members, where the
length of the list is not necessarily fixed for all
oil.py is still so cheap..
sad thing is that the result sound strange is true to
all versions :s
thanx again anyway!
On Wed, Jul 29, 2009 at 5:21 PM, Peter Otten__pete...@web.de wrote:
'2+ wrote:
it says
Wave_write.writeframes(data)
will that mean
from array import array
is a must
it says
Wave_write.writeframes(data)
will that mean
from array import array
is a must?
this does the job:
import oil
import wave
from array import array
a = oil.Sa()
w = wave.open(current.wav, w)
w.setnchannels(2)
w.setsampwidth(2)
w.setframerate(44100)
data = array('h')
for gas in range
file but the result
was longer than 30secs
was testing if i could use the WAVE lib withount taking advantage of
StringIO
nor
struct
but maybe am doing totally wrong?
--8---
import oil
import wave
a = oil.Sa()
w = wave.open(current.wav, w)
w.setparams((2, 2, 44100, 44100 * 2 * 10, NONE
thanx for the example!
somehow on juanty gui comes up but no sound ..
anyway i shortened the script this way and could aplay it
import wave
AMPLITUDE = 2 ** 15
w = wave.open( out.wav, w )
w.setnchannels( 2 )
w.setsampwidth( 2 ) #BYTES
w.setframerate( 22000 )
from array import array
import math
would like to take advantage of the wave module
found a good example here:
http://www.python-forum.org/pythonforum/viewtopic.php?f=2t=10644
hmm .. i don't get how to write a stereo .. i mean i can set nchannels
.. but how do i actually take control of each ch individually?
and what's the range(in
anyway i found:
http://code.google.com/p/python-twitter/
and
http://mike.verdone.ca/twitter/
and both were easy to install on intrepid .. but didn't work
python-twitter did work by manually downloading:
http://python-twitter.googlecode.com/svn/trunk/twitter.py
well but it seems like i have to
nice info, thanx
that
# stalk my stalkers
example look smart
i won't use that one if it was for this ml ;D
On Sun, Apr 5, 2009 at 1:22 AM, Bradley Wright bradl...@gmail.com wrote:
Just to pimp my own wares:
http://github.com/bradleywright/yatcip/tree/master
A Python Twitter client.
--
i found a guy twittin supercollider code
this means his followers can listen to a noiz by activating that 1 line
(well if he has sc installed)
if lots of sc users start twittin ... it would be no good to follow each
collecting a sc related twitt can be done with python?
if there's a lib already
me of background
music from a 1990s game whose name I can't remember, and I wonder if
there's any potential for combining this with game writing, if you
aren't already doing so.
--
'2+
http://sarigama.namaste.jp/buyobuyo.html
--
http://mail.python.org/mailman/listinfo/python-list
well maybe am over-advertising .. excuse me ...
am new to python but my
algo-comping cs.sco with python thang kinda got lauched after all
so decided to move from java to python to do these thangs
completly platform independently
oh .. am just curious who are the guys over here composing weird
19 matches
Mail list logo