Go to advanced search

by trungtran
Sun Nov 02, 2014 2:12 pm
Forum: General discussion
Topic: Play audio problems
Replies: 7
Views: 2932

Re: Play audio problems

Anyhow can you show me how to insert those commands into my original python script. I just want to run them together. I tested each component separately it works, but when they all run together the audio doesn't give me the right sound. You think any problem with my coding that need to be fixed ?
by trungtran
Sun Nov 02, 2014 5:37 am
Forum: General discussion
Topic: Play audio problems
Replies: 7
Views: 2932

Re: Play audio problems

I tested the audio file by itself on the pi. It works fine. Play the audio as I expected. I tested the audio by using aplay command and the code without the camera part. The audio output connected through a analog jack. I'll include a link to my current project. The problem is whenever the program (...
by trungtran
Sun Nov 02, 2014 5:12 am
Forum: Camera board
Topic: Making videos with sound for Youtube possible ?
Replies: 21
Views: 8258

Re: Making videos with sound for Youtube possible ?

Here is the link to my original post. I been working on this project. But the code im using doesn't give me the correct audio output. http://www.raspberrypi.org/forums/viewt ... 63&t=90247
by trungtran
Sun Nov 02, 2014 4:57 am
Forum: Camera board
Topic: Making videos with sound for Youtube possible ?
Replies: 21
Views: 8258

Re: Making videos with sound for Youtube possible ?

Does Anyone know that raspberry pi model b can display live camera feed on screen and play audio output to a speaker at the same time ?
by trungtran
Thu Oct 30, 2014 11:24 pm
Forum: General discussion
Topic: Play audio problems
Replies: 7
Views: 2932

Re: Play audio problems

Here is a partial of my code that I have problem with: import pygame import pygame.camera BLACK = (0,0,0) GREEN = (0,255,0) YELLOW = (255,255,0) RED = (255,0,0) pygame.init() #initialize pygame lcd = pygame.display.set_mode() #Initialize a screen pygame.mouse.set_visible(True) #Don't display the mou...
by trungtran
Thu Oct 30, 2014 11:22 pm
Forum: General discussion
Topic: Play audio problems
Replies: 7
Views: 2932

Re: Play audio problems

I only get noise, which very frustrated I applied this code into my python program, it does play the audio I wanted to but I get really bad delay on the camera feed. I wanted to display live image on the display and play audio as the same time pygame.mixer.music.load("/home/pi/Desktop/Project/G...
by trungtran
Tue Oct 28, 2014 12:13 am
Forum: General discussion
Topic: Play audio problems
Replies: 7
Views: 2932

Play audio problems

I'm working on a parking sensors project. Whenever I run my program, the camera displays live feed on the screen and speaker play an audio sound. However, the audio give me an distortion noise. I lower the quality of the audio file, change from .wav to .ogg but it still doesn't play the audio that I...
by trungtran
Tue Oct 07, 2014 2:31 pm
Forum: Beginners
Topic: Audio play on model B
Replies: 1
Views: 1249

Audio play on model B

I tried to play the audio on the raspberry pi, but so far i couldn't able to do so. It keep getting error: no module name winsound. Its works on the windows PC, I know its won't works on the pi since some functions are only applied to Win. What command I need to change or package I need to download ...
by trungtran
Tue Oct 07, 2014 12:22 am
Forum: Beginners
Topic: alsa sound and alsamixer
Replies: 10
Views: 78114

Re: alsa sound and alsamixer

I keep getting errors for the audio output. The screen keep displays no module winsound. What I need to do in order to play the audio file .wav I know its won't works on Pi unless I have to download some package or sometimes to able play the audio. I test on the PC its works fine. Please help ! THan...

Go to advanced search