Mirror of my macOS audio player, Cog.
 
 
 
 
 
 
Go to file
Christopher Snowhill 8b2ce33813 [MAD Decoder] Better handle VBRI header frame skip
Skip the frame during decode, which will likely incur a BADDATAPTR error
on the first frame, as has already been logged in the development
process. Instead, skip the first frame, then proceed to the next one.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-06-21 05:48:58 -07:00
.githooks [Git Hooks] Fix hook to ignore submodule projects 2022-06-09 18:55:21 -07:00
.github Update README regarding HRIR convolver 2022-01-25 23:27:10 -08:00
.vscode Add clang-format style for VSCode. 2021-02-26 23:01:25 +03:00
Application [Core Data Store] Fix empty URL filtering 2022-06-20 23:18:37 -07:00
Audio [Cog Decoder Multi] Add dealloc function to close 2022-06-20 22:31:03 -07:00
Base.lproj [Sandbox] Add Playlist Path Suggester 2022-06-21 02:45:45 -07:00
Cog.help/Contents [Localizations] Remove or rename obsolete files 2022-06-19 00:03:09 -07:00
Cog.xcodeproj [About Dialog] Implemented new About dialog 2022-06-20 21:58:22 -04:00
CogAssets.xcassets Icon: Replace icon with a newly rendered design 2022-05-02 14:35:09 -07:00
DataModel.xcdatamodeld/DataModel.xcdatamodel [Play Count] Remember added count across sessions 2022-06-20 19:13:33 -07:00
DiskImage Removed get-dsstore.sh, its no longer used. 2007-02-25 22:23:27 +00:00
Equalizer Use NSNumber Literals as much as possible 2022-06-17 06:39:02 -07:00
Feedback Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
FileTree [File Tree] Implement Sandbox support 2022-06-20 23:32:40 -07:00
Formatters Use NSNumber Literals as much as possible 2022-06-17 06:39:02 -07:00
Frameworks Updated VGMStream to r1745-33-gbb2a6624 2022-06-20 16:22:07 -07:00
Icons Icon: Replace icon with a newly rendered design 2022-05-02 14:35:09 -07:00
Images Icon: Replace icon with a newly rendered design 2022-05-02 14:35:09 -07:00
InfoInspector [Event Handling] Add context to all observers 2022-06-15 16:47:43 -07:00
Playlist [Sandbox / Core Data] Refine global variable usage 2022-06-21 00:01:07 -07:00
Plugins [MAD Decoder] Better handle VBRI header frame skip 2022-06-21 05:48:58 -07:00
Preferences [Sandbox] Add Playlist Path Suggester 2022-06-21 02:45:45 -07:00
Scenes.scnassets [Visualization]: Add Spectrum window 2022-05-22 17:24:35 -07:00
Scripts Fix update_feed.rb for new Sparkle 2022-06-20 05:18:38 -07:00
Spotlight [Sandbox / Core Data] Refine global variable usage 2022-06-21 00:01:07 -07:00
TagEditor Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
ThirdParty Revert "[MAD Decoder] Patch ... libmad" 2022-06-21 05:33:15 -07:00
Transformers Use NSNumber Literals as much as possible 2022-06-17 06:39:02 -07:00
Utils [Sandbox] Add Playlist Path Suggester 2022-06-21 02:45:45 -07:00
Visualization [SceneKit Visualization] Refine blocklist again 2022-06-19 21:42:39 -07:00
Window [About Dialog] Implemented new About dialog 2022-06-20 21:58:22 -04:00
Xcode-config Improve Shared.xcconfig. 2021-01-05 17:25:12 +01:00
en.lproj [ReplayGain Info] Info strings are now localized 2022-06-18 23:45:18 -07:00
es.lproj [ReplayGain Info] Info strings are now localized 2022-06-18 23:45:18 -07:00
.clang-format Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
.gitignore Update .gitignore to block Package.resolved 2022-06-17 05:46:31 -07:00
.gitmodules [Crash Reporting] Replace Bugsnag with Crashlytics 2022-06-17 00:11:48 -07:00
.hgignore Added missing files and updated .hgignore file 2013-10-04 10:54:40 -07:00
.hgtags Added tag k54 for changeset ddfc3989351f 2013-10-10 17:38:05 -07:00
AboutCog.jp2 [About Dialog] Implemented new About dialog 2022-06-20 21:58:22 -04:00
CODE_OF_CONDUCT.md Update Code of Conduct, remove placeholder 2022-01-30 14:38:49 -08:00
COMPILE Changed contact address in compiling guide 2013-10-11 06:17:29 -07:00
COPYING Initial revision 2005-06-02 18:16:43 +00:00
Changelog Updated COMPILE, README, Changelog, and version number. 2007-07-11 01:59:03 +00:00
Cog-Bridging-Header.h - Big Sur phase two 2020-11-22 18:16:34 -08:00
Cog.entitlements [Sandbox / Sparkle] Update entitlements 2022-06-20 17:13:54 -07:00
Cog.q1.json Equalizer: Implemented new presets contributed by Oleg-Chashko 2022-01-24 20:01:22 -08:00
Cog.sdef [AppleScript Automation] Rename Playlist member 2022-06-18 23:00:49 -07:00
Cog_Prefix.pch Initial revision 2005-06-02 18:16:43 +00:00
GoogleService-Info.plist [Crash Reporting] Replace Bugsnag with Crashlytics 2022-06-17 00:11:48 -07:00
Info.plist [Sandbox / Sparkle] Update entitlements 2022-06-20 17:13:54 -07:00
KnownIssues Completely redesigned all menus, fixed crashers due to new PlaylistEntry structure, validated menu items, added menu entry for fading, synthesized playbackStatus, updated KnownIssues 2008-02-23 22:20:14 +00:00
README.md README: Add directions for Git hooks path 2022-05-22 16:12:12 -07:00
SpectrumViewCG.h [Spectrum Visualizer] Add crash check for SceneKit 2022-06-17 22:15:14 -07:00
SpectrumViewCG.m [Spectrum Visualizer] Add crash check for SceneKit 2022-06-17 22:15:14 -07:00
SpectrumWindow.xib [Visualization]: Add Spectrum window 2022-05-22 17:24:35 -07:00
SpectrumWindowController.h [Visualization] Tear down window vis when not open 2022-05-22 18:39:32 -07:00
SpectrumWindowController.m [Spectrum Visualizer] Add crash check for SceneKit 2022-06-17 22:15:14 -07:00
TODO Version bump. 2008-06-12 22:41:26 +00:00
gsx.wv New feature: Implemented headphone virtualization 2022-01-25 16:50:42 -08:00
main.m Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
patrons.h [Credits] Update Patreon credits 2022-06-10 00:30:18 -07:00
sf.play.pdf - Big Sur phase two 2020-11-22 18:16:34 -08:00

README.md

Cog buildable

Cog is authored by Vincent Spader. It is released under the GPL. See COPYING for details.

The libraries folder contains various decoding and tagging libraries, which i have created Xcode projects for, and possibly modified to make compile on OS X. The various libraries are under each of their own licenses/copyrights.

All Cog code is copyrighted by me, and is licensed under the GPL. Cog contains bits of other code from third parties that are under their own licenses/copyright.

If you would like the photoshop sources for the various icons and graphics, please send me an email, and I will be happy to get them to you.

Share and enjoy. --Vincent Spader (vspader@users.sf.net)

ADDENDUM - 2013-09-30

I have forked this player to continue maintaining it for others to use, as its original author appears to have left it by the wayside. I will try to continue updating as I find more things that need fixing, or if I find new features to add which seem like they would be useful to me or others.

Up to date binaries will be available at the following link:

https://cog.losno.co/

--Christopher Snowhill (chris@kode54.net)

ADDENDUM - 2018-06-21

You will need to run the following to retrieve all the source code:

git submodule update --init --recursive

Setup your DEVELOPMENT_TEAM like described in Xcode-config/Shared.xcconfig to build the project.

(Add 2022-05-22) Also, be sure to configure the hooks path, so you won't accidentally commit your team ID to a project file:

git config core.hooksPath .githooks

Screenshots

Main window and Info Inspector

Main window

Mini window

Mini window

ADDENDUM - 2022-01-25

I've added an HRIR convolver, based on the HeSuVi HRIR format. A preset is bundled with the app, but external presets may be selected, in either RIFF WAVE, or Wavpack format, 7 or 14 channel, 32 bit floating point. A bad or missing preset will fall back on the built-in preset. The settings dialog won't let you assign a bad preset, either.

The channel layout of the HeSuVi HRIR is as follows:

HeSuVi HRIR channel layout

I altered this image from the original on the HeSuVi HRIR developer readme, as their image incorrectly swapped the left/right output order for the right input channels, which are actually supposed to be right output first, then left output. Otherwise, if observed as the original image, all output comes from either the center or the left side.

The layout for 7 channel no-reverb presets is the same, except it only includes the first 7 channels of the layout, and the opposite speakers simply mirror their respective input channels, and the center input is used for both left and right outputs.

Here are some preset HRIR files.

The original HeSuVi project is located here.

ADDENDUM - 2022-02-01

I've replaced the resampler with libsoxr, with no quality control settings exposed.

ADDENDUM - 2022-03-03

I've replaced the resampler yet again. This time, with R8Brain, using the 24 bit preset, since the player doesn't go over the depth of 24 bit integer or 32 bit floating point, and outputs 32 bit floating point. It still processes the resampler in 64 bits, though.

ADDENDUM - 2022-03-04

It has come to my attention that my recent commits may have assumed that Aleksey Vaneev, and possibly any other Russian or Belarusian people are in support of the war in Ukraine. I did not intend to make that assumption. I know that a lot of people are either against it, have family and/or friends affected by it, or in some unfortunate cases, have the wool pulled over their eyes by the local propaganda machine. The only thing I knew at all, was comments to the effect of him being anti-vaccines, which is a bit of a sore subject with me. I do not know anyone personally who has died from COVID-19, but I do support using the greatest caution to avoid it, including vaccines, and masks, and social distancing. I will maintain my fork of the library in case anything happens to upstream, and keep an open mind for now, I hope. Hope this long winded mess finds my users well, and doesn't further piss off anyone.