-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathorquestra.js
30 lines (28 loc) · 854 Bytes
/
orquestra.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* Created by intelWorx on 19/11/2015.
* adapted by Ariane Stolfi, 10/01/2017
*/
(function () {
'use strict';
angular.module('mdWavesurferApp', ['mdWavesurfer'])
.config(function ($mdIconProvider) {
//$mdIconProvider.fontSet('zmdi', 'fontawesome');
})
.controller('MainController', ['$scope',
function ($scope) {
//to change the name of the samples folder
$scope.folder = "samples_3/";
$scope.extension = ".mp3";
$scope.longList = [];
//to change the number of the files
//for (var i = 32; i < 126; i++) {
//for (var i = 32; i < 79; i++) {
for (var i = 33; i < 126; i++) {
$scope.longList.push({
title: i,
url: $scope.folder + i + $scope.extension,
itemid: i,
});
}
}])
})();