\MelodyController

Controller to search melody patterns

Summary

Methods
Properties
Constants
search()
$result
$results
$patternArray
$xmlArray
$xmlPositionArray
$xmlCounterArray
$once
$once2
$noteCounter
$counter
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$result

$result : 

Type

$results

$results : 

Type

$patternArray

$patternArray : 

Type

$xmlArray

$xmlArray : 

Type

$xmlPositionArray

$xmlPositionArray : 

Type

$xmlCounterArray

$xmlCounterArray : 

Type

$once

$once : 

Type

$once2

$once2 : 

Type

$noteCounter

$noteCounter : 

Type

$counter

$counter : 

Type

Methods

search()

search(object  $pattern) : array

Search function to compare melody pattern to xml files

Parameters

object $pattern

The user generated melody pattern

Returns

array —

Containing objects of \stdClass with file_id, file_url as well as start and end positions where pattern matches any given xml file