monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
633 stars 147 forks source link

TAPE: aiff files at 44.1khz play back at a faster rate #823

Closed audionerd closed 5 years ago

audionerd commented 5 years ago

44.1khz aiff files play back at a faster rate in TAPE

48khz play back correctly

norns 2.0.1

using an older norns-image (190314) not sure if that makes a difference

catfact commented 5 years ago

It’s true, crone tape performs no resampling. i'm not planning to change this, personally...

audionerd commented 5 years ago

Makes sense.

What if I added a section to the TAPE docs re: which files work for playback?

Something like:

PLAY can load 48khz / 24bit WAV files.

Is there a list of file formats that will work with PLAY out of the box?

catfact commented 5 years ago

excellent idea, thank you!

files must be stereo. any header / sample format should work (including raw.) 48khz is assumed.

audionerd commented 5 years ago

Any exceptions re: FLAC, MP3, M4A?

catfact commented 5 years ago

ah good point yeah. definitely no formats requiring a license (mp3, AAC, etc) and generally no compressed formats. (corrected correction: apparently .ogg/vorbis is now supported, but i havent tried it - i'd assume there is a possibility of glitching at the beginning of the stream. ogg/speex still not supported. )

we are just using libsndfile. here is the full table of supported encodings / sample formats:

http://www.mega-nerd.com/libsndfile/

we have not specifically tested every entry in this table, just the basics. (wav, aif, 16b, 24b, float.)

audionerd commented 5 years ago

Closing now that this is in the docs.