Join/Login

Business Software

Open Source Software

For Vendors

Blog

About

More

Articles

Create

SourceForge Podcast

Site Documentation

Subscribe to our Newsletter

Support Request

For Vendors Help Create Join Login

Business Software

Open Source Software

SourceForge Podcast

Resources

Articles

Case Studies

Blog

Menu

Help

Create

Join

Login

Home

Browse

OpenDAFF

Code

OpenDAFF Code

Directional Audio File Format

Brought to you by: fwefers, jstienen, laspoeck

Summary

Files

Reviews

Support

Code

Mailing Lists

OpenDAFF official website

Menu ▾ ▴

Browse Commits

Fork

Merge Requests 0

Forks 1

Branches

master

develop

[9925ad]: / matlab / Tests / another_test_callback_function.m  Maximize  Restore  History

Download this file

18 lines (16 with data), 593 Bytes

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

function [ freqs, phases, metadata ] = another_test_callback_function( alpha, beta, basepath )

freqs = [20 25 30];

channels = 2;

phases = zeros(channels, length(freqs));

metadata = cell(channels,1);

for c=1:channels

for f=1:length(freqs)

if f==1

phases(c,f) = alpha/360;

else

phases(c,f) = beta/360;

end

end

metadata{c} = daff_metadata_addKey(metadata{c}, 'Description', 'String', sprintf('Channel: %u, Alpha: %u, Beta: %u',c,alpha,beta));

end

end

SourceForge

Create a Project

Open Source Software

Business Software

Top Downloaded Projects

Company

About

Team

SourceForge Headquarters
225 Broadway Suite 1600
San Diego, CA 92101
+1 (858) 422-6466

Resources

Support

Site Documentation

Site Status

SourceForge Reviews

© 2025 Slashdot Media. All Rights Reserved.

Terms Privacy Opt Out Advertise

×
Want the latest updates on software, tech news, and AI?

Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.

Submit