/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Executing PlayWav

Username:     
Password:     
             

Forum

# 1   2009-04-04 04:43:57 Executing PlayWav

jetcode
Member
Registered: 2009-04-03
Posts: 49

Executing PlayWav

Hi,

Brand new user here and am impressed by this platform.

I found that running this program hangs during playback but it appears the files are being written to the SD card. I can't debug because I have the basic version but want to step up to the pro version so I can test and debug the applications and potentially work on circle_os which I think is a nice platform for applications. I have some applications that I've been looking to port to a nice hand-held platform. I am using a Primer 2 and have upgraded the OS and primer 2 application suite.

Joe

Offline

 

# 2   2009-04-04 06:46:26 Executing PlayWav

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Executing PlayWav

We encountered the issue with the alpha version (3.7a), but  not with 3.7.
Unfortunately, we never reproduced the issue in debug mode. We will try again.

Today, we received a fix concerning the FS_Seek function, but this function is not called by playwav.

If you are able to reproduce easily the problem, please let us know.

Offline

 

# 3   2009-04-04 17:49:52 Executing PlayWav

jetcode
Member
Registered: 2009-04-03
Posts: 49

Re: Executing PlayWav

Sorry I'm still learning your forum and systems. See the next thread in this collection.

Offline

 

# 4   2009-04-22 09:03:51 Executing PlayWav

Saulis
Member
From: Lithuania
Registered: 2009-04-09
Posts: 34

Re: Executing PlayWav

Hi, I cant play any wav file on two our primer2. Card is nokia 64mb, i guess its standardt SD type. OS just hangs up, audio codec starts chirping and the only way is to restart by debugger or remove power jumper.

Offline

 

# 5   2009-04-22 09:11:58 Executing PlayWav

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Executing PlayWav

Did you try the 'dictaphone' ?

Offline

 

# 6   2009-04-22 19:38:54 Executing PlayWav

Saulis
Member
From: Lithuania
Registered: 2009-04-09
Posts: 34

Re: Executing PlayWav

dictaphone (todays release) also hangs up after recording start. After reset found rec file, but cant playback. tried to delete rec file  - also stopped to respond. Restart circle -> file not  found in card. It seems to me, that opperations with card layer are working, but cmd status gives some weird answers.

Last edited by Saulis (2009-04-22 19:41:51)

Offline

 

# 7   2009-05-02 20:39:35 Executing PlayWav

rondesc
New member
Registered: 2007-10-06
Posts: 5

Re: Executing PlayWav

'Play.Wav' would not play any waves I had lying around. I made a Recording with MS Sound Recorder (44.1KHz, 16bit stereo) and it would not play it.
I created, with 'Audacity', a recording which it would play very well indeed. This recording was 22.05KHz, 16bits Mono.
I also find that the Rec.Wav files play back but are severely chopped up &/or scrambled.

Offline

 

# 8   2009-05-03 08:26:59 Executing PlayWav

repzak
Member
Registered: 2008-03-05
Posts: 170

Re: Executing PlayWav

Hey,

You are sure the files are pure PCM data, and not some compressed wave file?
http://en.wikipedia.org/wiki/WAV

You can try to set the CPU speed to max before you enter the playWav application

Kasper

Offline

 

# 9   2009-05-04 16:07:15 Executing PlayWav

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Executing PlayWav

I tried without changing the CPU speed, and it works.
Are you sure you have the latest CircleOS ? It should be referenced as 3.71 by the 'About page'.

Offline

 

# 10   2009-05-15 07:53:34 Executing PlayWav

Saulis
Member
From: Lithuania
Registered: 2009-04-09
Posts: 34

Re: Executing PlayWav

Today I got some new SDHC 4GB microSD card, and Playing works well smile So either my previous card is too slow, or managenent routines makes it too slow to respond...

Offline

 

# 11   2009-05-19 19:38:51 Executing PlayWav

Saulis
Member
From: Lithuania
Registered: 2009-04-09
Posts: 34

Re: Executing PlayWav

I've tried to use it as a player for some time smile wih full charge of battery it lasts for about 1.2 hour, before it hangs up(primer2 itself). Had to do some hard restarts. Added some improvements like lcd backlight off after some seconds, and its turned on on key press. pressing key double it play.wav exits. I disabled loudspeaker in settings. There is still one problem, its beeps from accelerometer. Didnt found a quick way to turn it off, because as i see its hard coded in accelerometer handler routine.

Offline

 

# 12   2009-05-19 20:27:22 Executing PlayWav

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Executing PlayWav

Yes, the beep should be disabled at least when sound is active... We will make this change within the next release.

Offline

 

# 13   2010-04-26 18:07:14 Executing PlayWav

pratheek
New member
Registered: 2010-04-26
Posts: 1

Re: Executing PlayWav

why .h files are not openin? any software to download for that?

Offline

 

# 14   2010-05-11 12:20:06 Executing PlayWav

smithdwsn
New member
Registered: 2010-05-10
Posts: 4

Re: Executing PlayWav

I used playwav. It is simple freeware command-line application. It plays a windows .wav audio file. It is easy to integrate into any type of application. I have used dictaphone hangs up after recording start and after i reset it but i cant play it.

Offline

 

# 15   2011-03-14 20:33:07 Executing PlayWav

jobstitan123
New member
Registered: 2011-03-14
Posts: 2

Re: Executing PlayWav

Well, I have to say you've got many ideas ... but I don't think these could be either fun or useful !
To start, there will be a very restricted number of people who will modify there Primer to get your project work and much less who will be likely to modify their bike or their steering wheel

Offline

 

# 16   2011-09-20 06:57:20 Executing PlayWav

jonymac001
New member
Registered: 2011-09-20
Posts: 5

Re: Executing PlayWav

I have a form with an array of captions. I also have a timer. Every 50 miliseconds, every caption changes to a random letter. Every half second, one caption stops at a certain letter. This happens until every letter has stopped and the captions spell out a word.

(That was just a little background info)

Offline

 

Board footer