Audio player


Closed Thread
Results 1 to 14 of 14

Thread: Audio player

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,796

    Default Audio player

    I have a request for an audio player. The 12 audio files will be stored in a SD card (either mp3 or wav).

    Each file will be 30 sec long and after user selection, it will be played in a loop.

    All these are easy to implement with a DF Player and a PIC.

    But we need the files to be locked so that cannot be copied from the SD card and played in another player from ours.

    Any ideas welcome.

    Ioannis

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Audio player

    I don't think you can encrypt an SD card. A password filter may be all you need. The bigger you make it, the better. I know Microchip offers specialty security chips that could be added to your PIC project with random number generation and so forth. You may also simply increment all values by one, and on the read side, decrement all values by 1 so it comes out garbled without that translation.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,796


    Did you find this post helpful? Yes | No

    Default Re: Audio player

    Thank you Mike.

    I know that Microchip has an encrypted, or so, unique serial number in some PICs but could not find that info in the parametric search. I can't recall how it is called.

    Ioannis
    Last edited by Ioannis; - 20th October 2021 at 10:42.

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,383


    Did you find this post helpful? Yes | No

    Default Re: Audio player

    esp8266 , audio in littlefs partition in flash would nail it, files can be modified with simple https browser i/f
    on the devices own self generated access point
    Warning I'm not a teacher

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,796


    Did you find this post helpful? Yes | No

    Default Re: Audio player

    You mean ESP with in Arduino IDE, which needs good grasp of C, right?

    I do not feel very confident on that IDE for a client project.
    Thanks though,
    Ioannis

  6. #6
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: Audio player

    Depending on the samples and quality, you may find that you need quite a bit of storage (SD card with SDIO interface). The power of the PIC to handle raw samples may be severely short to get a reasonable output. I suggest you look at the VS1003B MP3 chips that you can throw the samples at. This way, you do not need too much processing on the PIC.

    another option you can evaluate is available on http://elm-chan.org/works/sd8p/report.html
    Last edited by Jerson; - 20th October 2021 at 14:45. Reason: Wrong link corrected

Similar Threads

  1. WTV020-SD-20SS SD Card U Disk Audio Player Interface
    By andybarrett1 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 4th March 2018, 04:48
  2. MP3 Player Using VS1011
    By lindomar in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 28th October 2009, 20:26
  3. DVD Player Remote Control
    By koossa in forum Off Topic
    Replies: 4
    Last Post: - 1st January 2009, 11:35
  4. Build your own CD player for under $20
    By T.Jackson in forum Off Topic
    Replies: 12
    Last Post: - 12th November 2007, 15:27
  5. is there cd player code in picbasic
    By mech in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 5th December 2006, 20:43

Members who have read this thread : 3

You do not have permission to view the list of names.

Posting Permissions

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