Hi Dmitry,

I just created some new sample files and the problem does not happen.. the
wav file I was using and had a problem with was downloaded from some 
random website; it is just a recording of piano keys.

I can send you the file if you'd like to take a look. The newer
ones are just pure tones generated from sox, and they work fine.
I don't see anything odd about it from a cursory inspection.


Thanks,
Rob


On Wed, Feb 22, 2006 at 02:44:15PM -0800, Dmitry Borisov wrote:
> It works fine here with the parameters you mentioned:
>    samplerate= 8000
>    channels= 1
> Can you ping point the problem ?
> Which platform/os/gcc/alsa is that? The more info the better.
> Dmitry/
> 
> ----- Original Message ----- 
> From: "Robert Helmer" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, February 20, 2006 11:44 PM
> Subject: Re: [Pymedia-users] Pymedia 1.3.7.0 is ready for testing in CVS
> 
> 
> >The sampleRate and channels for this test file are 8000 and 1
> >(respectively).
> >
> >
> >On Mon, Feb 20, 2006 at 11:32:40PM -0800, Dmitry Borisov wrote:
> >>What parameters do you pass to the sound object ?
> >>I mean samplerate and channels.
> >>Dmitry/
> >>
> >>----- Original Message ----- 
> >>From: "Robert Helmer" <[EMAIL PROTECTED]>
> >>To: <[email protected]>
> >>Sent: Monday, February 20, 2006 11:17 PM
> >>Subject: Re: [Pymedia-users] Pymedia 1.3.7.0 is ready for testing in CVS
> >>
> >>
> >>>Hi Dmitry,
> >>>
> >>>Having the following problem, I have the latest from CVS:
> >>>
> >>>Traceback (most recent call last):
> >>> File "lib/sound.py", line 16, in ?
> >>>     snd= sound.Output( sampleRate, channels, sound.AFMT_S16_LE )
> >>>     pymedia.audio.sound.SoundError: Cannot create sound object. Error
> >>>     text is: -22, Invalid argument
> >>>
> >>>
> >>>Here is the app this is coming from:
> >>>
> >>>--
> >>>import wave
> >>>import pymedia.audio.sound as sound
> >>>
> >>>CHANNELS= 1
> >>>SAMPLES= 512
> >>>NUM_FREQS= 512
> >>>RATE= 44100
> >>>
> >>>f= wave.open( 'openGtune.wav','r' )
> >>>sampleRate= f.getframerate()
> >>>channels= f.getnchannels()
> >>>snd= sound.Output( sampleRate, channels, sound.AFMT_S16_LE )
> >>>--
> >>>
> >>>I confirmed that this does work if I disable ALSA by changing the
> >>>"include" on sound/sound.cpp:31 to include "audio_unix.h" instead
> >>>of "audio_alsa.h" (is there an easier way to enable/disable
> >>>these kinds of options?).
> >>>
> >>>On Fri, Feb 17, 2006 at 08:50:33AM -0800, Dmitry Borisov wrote:
> >>>>Anyone have any comments on a 1.3.7.0 version ?
> >>>>Bugs to report or issues ?
> >>>>Let me know asap please,
> >>>>Dmirty/
> >>>>  ----- Original Message ----- 
> >>>>  From: Dmitry Borisov
> >>>>  To: [email protected]
> >>>>  Sent: Wednesday, February 01, 2006 9:28 AM
> >>>>  Subject: [Pymedia-users] Pymedia 1.3.7.0 is ready for testing in CVS
> >>>>
> >>>>
> >>>>  All,
> >>>>  I have submitted 1.3.7.0 version for a beta testing to CVS before the
> >>>>official release.
> >>>>  Here are changes:
> >>>>      - alsa support added
> >>>>      - wav support added for decoding ( adpcm, pcm, etc )
> >>>>      - pts handling added for muxer
> >>>>      - genre meta tag added
> >>>>  I'm still working on fixing other small bugs you reported lately,
> >>>>please bear with me this/next week. I will post notices as available in
> >>>>CVS.
> >>>>
> >>>>  Report any bug you'll find through the bug tracker.
> >>>>
> >>>>  Thank you,
> >>>>  Dmitry/
> >>>>
> >>>>  [edit]The previous email contains wrong version number[/edit]
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> >>>files
> >>>for problems?  Stop!  Download the new AJAX search engine that makes
> >>>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> >>>_______________________________________________
> >>>Pymedia-users mailing list
> >>>[email protected]
> >>>https://lists.sourceforge.net/lists/listinfo/pymedia-users
> >>>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> >>files
> >>for problems?  Stop!  Download the new AJAX search engine that makes
> >>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> >>_______________________________________________
> >>Pymedia-users mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/pymedia-users
> >>
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> >files
> >for problems?  Stop!  Download the new AJAX search engine that makes
> >searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> >_______________________________________________
> >Pymedia-users mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/pymedia-users
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Pymedia-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymedia-users
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users

Reply via email to