Nim port #1

Merged
a merged 4 commits from iacore/Lambeat:main into main 2023-03-12 17:53:37 +00:00
Contributor

it's now much faster

it's now much faster
iacore added 2 commits 2023-03-12 16:37:02 +00:00
iacore added 1 commit 2023-03-12 17:09:24 +00:00
ba6e3c3757
handle clipping
move osc&gain to the user side
iacore added 1 commit 2023-03-12 17:39:41 +00:00
a approved these changes 2023-03-12 17:53:33 +00:00
a left a comment
Owner

Thanks for the PR!

Also, I timed both versions and here are my results:

time ./music > music.s32

________________________________________________________
Executed in   12.51 secs    fish           external
   usr time   12.49 secs  904.00 micros   12.49 secs
   sys time    0.01 secs   74.00 micros    0.01 secs

time pypy3 music.py > music2.s32

________________________________________________________
Executed in   14.35 secs    fish           external
   usr time   14.31 secs    0.00 millis   14.31 secs
   sys time    0.02 secs    3.30 millis    0.02 secs

I wouldn't say it's much faster, but that's still a nice improvement!

Thanks for the PR! Also, I timed both versions and here are my results: ``` time ./music > music.s32 ________________________________________________________ Executed in 12.51 secs fish external usr time 12.49 secs 904.00 micros 12.49 secs sys time 0.01 secs 74.00 micros 0.01 secs time pypy3 music.py > music2.s32 ________________________________________________________ Executed in 14.35 secs fish external usr time 14.31 secs 0.00 millis 14.31 secs sys time 0.02 secs 3.30 millis 0.02 secs ``` I wouldn't say it's much faster, but that's still a nice improvement!
a merged commit 44b8c5f731 into main 2023-03-12 17:53:37 +00:00
Sign in to join this conversation.
No reviewers
a
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: a/yue#1
No description provided.