BioVibe_v2 / main.py

Commit History

  1. Update main.py

    Verified signature
    161e79d

  1. Add hidden state support and enhance melody generation logic for better audio responsiveness

    78779d1
  2. Refactor audio chain and drum engine for improved performance and responsiveness

    76b32b8

  1. refactor BioVibeAI model to support hidden state and improve melody generation logic

    d7b6834
  2. Delete 2 previous changes

    Verified signature
    589d428
  3. Random hóa Hợp âm (Xóa bỏ sự đơn điệu)⁠

    Verified signature
    1e84a65
  4. Thay đổi cách tính nhịp điệu (Step/Beat)⁠

    Verified signature
    11ad539

  1. refactor music generation by selecting a random song and ensuring sufficient length for seed tokens

    457981a
  2. refactor BioVibeAI model architecture by updating LSTM parameters and increasing layer count for improved performance

    9d6d506

  1. refactor music generation by adjusting synth volumes and batching note processing for improved timing

    754fcda
  2. refactor music generation by adding new synths for pads, kick, and snare, and improving note handling in websocket

    ed44796
  3. refactor music generation by batching note sending and improving timing dynamics

    f5c3ac2
  4. refactor websocket_vibe to adjust BPM handling and enhance chord progression dynamics

    491886c
  5. refactor audio processing logic to enhance sound quality and implement lo-fi chord progression

    baad3f5
  6. refactor websocket_vibe to streamline BPM handling and enhance note sending logic

    3f60c90
  7. enhance WebSocket integration to support real-time BPM updates and improve AI music generation logic

    359910b
  8. refactor imports in main.py for improved organization and clarity

    f6b9480
  9. refactor WebSocket integration for real-time MIDI generation, enhance AI music generation logic, and implement MIDI pitch clamping

    5136ade
  10. add missing mido import to main.py

    741f5d6
  11. remove unused mido import from main.py and add it to requirements.txt

    162019c
  12. refactor generate_ai_midi function to adjust default number of notes from 64 to 40, enhance MIDI generation with improved chord progression and rhythm patterns, and implement fallback mechanism for insufficient MIDI notes

    c971da6
  13. refactor generate_ai_midi function to increase default number of notes from 20 to 64 and optimize seed generation for improved performance

    9a29daf
  14. refactor generate_ai_midi function to reduce default number of notes from 40 to 20

    41c11dd
  15. refactor generate_ai_midi function to reduce default number of notes from 80 to 40 and remove mix_with_ambience call from generate_vibe endpoint

    0231127
  16. refactor generate_ai_midi function to enhance melody generation with structured rhythm patterns and improved pitch handling

    1ed4a85
  17. add mix_with_ambience function to enhance AI-generated audio with piano and rain sounds

    53b12a6
  18. refactor generate_ai_midi function for improved melody generation and structure

    bd10c95
  19. reduce default note count and loop iterations in generate_ai_midi function for improved performance

    89cf37d
  20. refactor audio processing in apply_audio_pipeline function for improved clarity and enhanced sound quality

    ee13c8a
  21. refactor status message in index.html for clarity and update audio processing functions in main.py for improved performance and sound quality

    07a04f4
  22. increase loop length in generate_ai_midi function to enhance music generation

    9246010
  23. reduce loop length in generate_ai_midi function to enhance performance

    941bcc7

  1. refactor imports in main.py to remove unused numpy copy

    b00f1b7
  2. enhance generate_ai_midi to increase loop length, improve deep copy handling, and refine audio filtering parameters

    323311f
  3. enhance generate_ai_midi to increase loop length and fix deep copy of elements

    ee3a40b
  4. refactor generate_ai_midi to improve music generation logic and enhance output quality

    4a52388
  5. update generate_ai_midi to print first 20 events and refine audio processing parameters

    2247983
  6. enhance generate_ai_midi by adding random pitch filtering and setting instrument channel

    f16998c
  7. add logging for output stream length and final offset in generate_ai_midi

    bd65baf
  8. refactor generate_ai_midi to add instrument only once and avoid duplicates

    321224d
  9. update

    efa0dd0
  10. update

    1905ff7
  11. fix

    0d01013
  12. update note generation logging and adjust audio filter frequency

    bb3dec5
  13. update model AI

    c688f4d
  14. update model

    0858961

  1. update main

    938e960
  2. fix

    c8c8799
  3. update main

    56b4a52
  4. fix sf

    36f38fe