Skip to content

Commit dae7b37

Browse files
committed
Improvisation for JIT GRAPHICS DAY EXHIBITION
1 parent 6bc5365 commit dae7b37

File tree

11 files changed

+7
-5
lines changed

11 files changed

+7
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@
77
*.wav
88
*.MP3
99
*.dll
10+
*.txt
11+
*.pptx
1012
bin/

main.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,12 @@ int main(int argc, char *argv[])
346346
return 0;
347347
//sound.play(); called just before display
348348

349-
std::cout<<"SampleRate:"<<(SAMPLE_RATE= buffer.getSampleRate())<< std::endl;
350-
std::cout<<"SampleCount:"<<(SAMPLE_COUNT= buffer.getSampleCount())<< std::endl;
349+
std::cout<<"SampleRate: "<<(SAMPLE_RATE= buffer.getSampleRate())<< std::endl;
350+
std::cout<<"SampleCount: "<<(SAMPLE_COUNT= buffer.getSampleCount())<< std::endl;
351351
std::cout<<"SampleCount/2: "<<buffer.getSampleCount()/2<< std::endl;
352-
std::cout<<"expected no of samples:"<<(((int)(buffer.getSampleCount()/N))*N)/2<<std::endl;
353-
std::cout<<"channel:"<<buffer.getChannelCount()<<std::endl;
354-
std::cout << " " << buffer.getDuration().asSeconds() << " seconds"<< std::endl;
352+
std::cout<<"expected no of samples: "<<(((int)(buffer.getSampleCount()/N))*N)/2<<std::endl;
353+
std::cout<<"channel: "<<buffer.getChannelCount()<<std::endl;
354+
std::cout <<"Duration: "<< buffer.getDuration().asSeconds() << " seconds"<< std::endl;
355355

356356
std::vector<int>::iterator it;
357357
std::vector<int>::iterator f_it;
Loading

screenshots/Hann_function.png

7.84 KB
Loading

screenshots/home.png

19 KB
Loading

screenshots/pat1.png

15.6 KB
Loading

screenshots/pat2.png

89 KB
Loading

screenshots/pat3.png

63.8 KB
Loading

screenshots/pat4.png

64.5 KB
Loading

screenshots/pat5.png

132 KB
Loading

0 commit comments

Comments
 (0)