Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to extend more than 32 Audio channels on my app with Corona
Started by Trung Kien Tran Jul 17 2018 06:25 PM

4 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Trung Kien Tran

[GLOBAL: userInfoPane.html]
Trung Kien Tran
  • Enthusiast

  • 47 posts
  • Corona SDK

I have developed a piano playing application. My application needs a lot of audio channel to play the piano keys. How can I extend more than 32 Audio channels in an application built by Corona?
Thanks for your suggestion!


[TOPIC: post.html]
#2

nick_sherman

[GLOBAL: userInfoPane.html]
nick_sherman
  • Corona Geek

  • 1,491 posts
  • Corona SDK

You don't need to play more than 32 notes at once. You'll need to track which channels are available and use a free one each time a note is played.

[TOPIC: post.html]
#3

Trung Kien Tran

[GLOBAL: userInfoPane.html]
Trung Kien Tran
  • Enthusiast

  • 47 posts
  • Corona SDK

You don't need to play more than 32 notes at once. You'll need to track which channels are available and use a free one each time a note is played.

My app play with multi track from midi file. I need more than 32 audio channel to play the song



[TOPIC: post.html]
#4

nick_sherman

[GLOBAL: userInfoPane.html]
nick_sherman
  • Corona Geek

  • 1,491 posts
  • Corona SDK

Well, that's a different thing entirely. Someone got something like this running, but you're still going to have a hard limit of 32 sounds playing at once to work around.

https://forums.coronalabs.com/topic/43651-video-sksynth-playing-midi-files-source-code-released/

[TOPIC: post.html]
#5

Trung Kien Tran

[GLOBAL: userInfoPane.html]
Trung Kien Tran
  • Enthusiast

  • 47 posts
  • Corona SDK

Well, that's a different thing entirely. Someone got something like this running, but you're still going to have a hard limit of 32 sounds playing at once to work around.

https://forums.coronalabs.com/topic/43651-video-sksynth-playing-midi-files-source-code-released/

Currently I need more than 32 channels to play multiple tracks in midi file. Because each track can play multiple notes at the same time. And right now, Corona can not do that




[topic_controls]
[/topic_controls]