Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Long SD Filenames for Audio library

  1. #1
    Junior Member
    Join Date
    Feb 2015
    Location
    NY Metro Area
    Posts
    12

    Long SD Filenames for Audio library

    Folks,

    I am trying to use long filenames for my application and can not get SDfat (which supports this) to work without creating conflicts with Audio library. I tried replacing SD with SDfat in play_sd_raw and play_sd_wav but there are many more dependencies that are affected.

    Is this doable? I saw several threads about replacing the SD library but not specifically if there is a solution to allow use of folders and long filenames with the audio shield SD card reader?

    Tiran

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,679
    Quote Originally Posted by tirandagan View Post
    Folks,

    I am trying to use long filenames for my application and can not get SDfat (which supports this) to work without creating conflicts with Audio library. I tried replacing SD with SDfat in play_sd_raw and play_sd_wav but there are many more dependencies that are affected.

    Is this doable? I saw several threads about replacing the SD library but not specifically if there is a solution to allow use of folders and long filenames with the audio shield SD card reader?

    Tiran
    I fear there is no other way than to make a copy of the Audio library to your documents folder and to replace all mentions of SD with SDfat manually. It is not used very often and by a few files only.

  3. #3
    Junior Member
    Join Date
    Feb 2015
    Location
    NY Metro Area
    Posts
    12
    I havenít tried copying it locally. When making the two changes in the original library location I ran it to lots of trouble. Eg there are variables of type File which is not called SdFile and once I make those chianges a lot more breaks.

  4. #4
    Member
    Join Date
    Apr 2016
    Location
    Honolulu, Hawaii
    Posts
    37
    Quote Originally Posted by tirandagan View Post
    I havenít tried copying it locally. When making the two changes in the original library location I ran it to lots of trouble. Eg there are variables of type File which is not called SdFile and once I make those chianges a lot more breaks.
    Did you ever get this working?

Posting Permissions

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