Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch add-qoa Excluding Merge-Ins
This is equivalent to a diff from 7709609af5 to f4d68d2755
|
2024-08-13
| ||
| 08:01 | Merge and integrate add-qoa branch check-in: d335d786ea user: alexa tags: trunk | |
| 08:00 | Update TRUNKSTATUS Closed-Leaf check-in: f4d68d2755 user: alexa tags: add-qoa | |
| 07:58 | Fix Qoa seeking and position display. check-in: 5e544d6174 user: alexa tags: add-qoa | |
|
2024-08-12
| ||
| 22:53 | Initial QOA support added. check-in: d53a8acded user: alexa tags: add-qoa | |
|
2024-08-09
| ||
| 13:16 | Bump RemiAudio revision check-in: 7709609af5 user: alexa tags: trunk | |
| 06:42 | Bump required Haematite and RemiAudio versions check-in: c481a73edd user: alexa tags: trunk | |
Changes to NEWS.
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 | + |
;;;; -*- coding: utf-8; fill-column: 78 -*-
changes relative to Benben 0.5.0:
* New: Quite OK Audio (QOA) format support added.
* Enhancement: You can now specify either a single theme, or an array of
themes, in the config file. When it's an array, a random one out of that
array will be chosen.
* Enhancement: If the terminal is larger than 80x24, the play queue will
expand to fill the empty space (it previously expanded horizontally, but
not vertically).
* Enhancement: Normalization now happens in parallel as jobs are being
|
| ︙ |
Changes to TRUNKSTATUS.
| ︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + - - + + | * SoundFonts: Mostly working (the "global" soundfont is technically set incorrecly - see TODO in code) * MP1/2/3: working * FLAC: working * Opus: Working * Vorbis: working * WAV/Au: working |
| ︙ | |||
62 63 64 65 66 67 68 | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | - + | * Modules (libxmp): working * MIDI (Haematite): working * MP1/2/3 (libmpg123): working * FLAC (RemiAudio): working * Opus (libopus): working * Vorbis (libvorbis): working * WAV/Au (RemiAudio): purposely not implemented |
| ︙ |
Changes to shard.lock.
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | - + |
version: 2.0
shards:
haematite:
fossil: https://chiselapp.com/user/MistressRemilia/repository/Haematite
version: 0.5.3
libremiliacr:
fossil: https://chiselapp.com/user/MistressRemilia/repository/libremiliacr
version: 0.90.8
remiaudio:
fossil: https://chiselapp.com/user/MistressRemilia/repository/remiaudio
|
| ︙ |
Changes to shard.yml.
| ︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + |
haematite:
fossil: https://chiselapp.com/user/MistressRemilia/repository/Haematite
version: 0.5.3
remiaudio: # We use a slightly newer version of RemiAudio to get QOA support.
fossil: https://chiselapp.com/user/MistressRemilia/repository/remiaudio
|
| ︙ |
Changes to src/audio-formats/playablefile.cr.
| ︙ | |||
59 60 61 62 63 64 65 66 67 68 69 70 71 72 | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | + + |
FileType::Flac if FlacFile.test(filename)
when ".mp3", ".mp2", ".mp1"
FileType::Mpeg1 if Mpeg1File.test(filename)
when ".wav", ".wave", ".au"
FileType::Pcm if PcmFile.test(filename)
when ".midi", ".mid", ".mus", ".rmi"
FileType::Midi if MidiFile.test(filename)
when ".qoa"
FileType::Qoa if QoaFile.test(filename)
else nil # Using the extension didn't yield a result
end
rescue Exception
nil
end
# Determines if **filename** is a file type that is supported by Benben, and
|
| ︙ | |||
84 85 86 87 88 89 90 91 92 93 94 95 96 97 | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | + + |
# If we've made it here, then the filename extension didn't help us. Do
# more intensive checks.
case
when VgmFile.test(filename)
ret = FileType::Vgm
when MidiFile.test(filename)
ret = FileType::Midi
when QoaFile.test(filename)
ret = FileType::Qoa
when RemiXmp.test(filename)
ret = FileType::Module
when VorbisFile.test(filename)
ret = FileType::Vorbis
when OpusFile.test(filename)
ret = FileType::Opus
when FlacFile.test(filename)
|
| ︙ | |||
120 121 122 123 124 125 126 127 128 129 130 131 132 133 | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | + |
in .module? then return ModuleFile.new(filename)
in .flac? then return FlacFile.new(filename)
in .opus? then return OpusFile.new(filename)
in .vorbis? then return VorbisFile.new(filename)
in .mpeg1? then return Mpeg1File.new(filename)
in .midi? then return MidiFile.new(filename)
in .pcm? then return PcmFile.new(filename)
in .qoa? then return QoaFile.new(filename)
in .unknown?
RemiLib.log.error("Cannot play file: #{filename}")
nil
end
rescue err : Yuno::YunoError
Benben.dlog!("YunoSynth Error loading file: #{err} (#{err.backtrace}")
RemiLib.log.error("Cannot load file: #{err}")
|
| ︙ |
Added src/audio-formats/qoafile.cr.