×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    7

    Symbian S60 Sequencer

    Hello everyone,

    I'm trying to write a metronome for Symbian S60 3th Ed. Is working fine but not totally synchronized. Some beeps get delay.

    I'm using CPeriodic for playing a sound each step and CMdaAudioOutputStream for the output.

    Anyone has try this before and solved the problem?

    Thanks.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: Symbian S60 Sequencer

    Try the CHeartBeat with an implemention of MBeating observer's Beat and Synchronize function, this is more accurate then the CPeriodic, because it provides a function to restore timer accuracy if it gets out of synchronisation with the system clock.

    http://www.symbian.com/developer/tec...eat.guide.html

    Cheers,
    Mayank

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    7

    Re: Symbian S60 Sequencer

    Thanks Mayank, the problem with CHeartBeat is that only admits fraction of one second, the metronome needs more preccision for example from 50BPM (bits per minute) to 200BPM

    But do you think the problem is with the timers or with the class that plays the audio? I'm using this example for that: http://wiki.forum.nokia.com/index.ph...-channel_audio

Similar Threads

  1. Replies: 4
    Last Post: 2009-04-26, 07:27
  2. Replies: 2
    Last Post: 2009-04-23, 08:25
  3. Python for S60 1.9.3 released
    By tvijayan in forum Symbian
    Replies: 40
    Last Post: 2009-04-03, 15:00
  4. Porting Symbian to Symbian !
    By samcqc in forum Symbian
    Replies: 16
    Last Post: 2008-09-07, 11:02
  5. How to talk with Symbian OS file system using S60 SDK
    By peterramesh in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-01-25, 08:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •